WPILibC++ 2024.1.1-beta-4
binary_reader.h File Reference
#include <algorithm>
#include <array>
#include <cmath>
#include <cstddef>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <iterator>
#include <limits>
#include <string>
#include <utility>
#include <vector>
#include <wpi/detail/exceptions.h>
#include <wpi/detail/input/input_adapters.h>
#include <wpi/detail/input/json_sax.h>
#include <wpi/detail/input/lexer.h>
#include <wpi/detail/macro_scope.h>
#include <wpi/detail/meta/is_sax.h>
#include <wpi/detail/meta/type_traits.h>
#include <wpi/detail/string_concat.h>
#include <wpi/detail/value_t.h>

Go to the source code of this file.

Classes

class  detail::binary_reader< BasicJsonType, InputAdapterType, SAX >
 deserialization of CBOR, MessagePack, and UBJSON values More...
 

Namespaces

namespace  detail
 detail namespace with internal helper functions
 

Macros

#define JSON_BINARY_READER_MAKE_BJD_OPTIMIZED_TYPE_MARKERS_    make_array<char_int_type>('F', 'H', 'N', 'S', 'T', 'Z', '[', '{')
 
#define JSON_BINARY_READER_MAKE_BJD_TYPES_MAP_
 

Enumerations

enum class  detail::cbor_tag_handler_t { detail::error , detail::ignore , detail::store }
 how to treat CBOR tags More...
 

Functions

static bool detail::little_endianness (int num=1) noexcept
 determine system byte order More...
 

Macro Definition Documentation

◆ JSON_BINARY_READER_MAKE_BJD_OPTIMIZED_TYPE_MARKERS_

#define JSON_BINARY_READER_MAKE_BJD_OPTIMIZED_TYPE_MARKERS_    make_array<char_int_type>('F', 'H', 'N', 'S', 'T', 'Z', '[', '{')

◆ JSON_BINARY_READER_MAKE_BJD_TYPES_MAP_

#define JSON_BINARY_READER_MAKE_BJD_TYPES_MAP_
Value:
make_array<bjd_type>( \
bjd_type{'C', "char"}, \
bjd_type{'D', "double"}, \
bjd_type{'I', "int16"}, \
bjd_type{'L', "int64"}, \
bjd_type{'M', "uint64"}, \
bjd_type{'U', "uint8"}, \
bjd_type{'d', "single"}, \
bjd_type{'i', "int8"}, \
bjd_type{'l', "int32"}, \
bjd_type{'m', "uint32"}, \
bjd_type{'u', "uint16"})