JSON BinPack 0.0.1
A space-efficient open-source binary JSON serialization format based on JSON Schema with both schema-driven and schema-less support.
Loading...
Searching...
No Matches
sourcemeta::jsonbinpack::InputStream Class Reference
Inheritance diagram for sourcemeta::jsonbinpack::InputStream:
sourcemeta::jsonbinpack::Decoder

Public Types

using Stream

Public Member Functions

 InputStream (Stream &input)
auto rewind (const std::uint64_t relative_offset, const std::uint64_t position) -> std::uint64_t
auto get_varint () -> std::uint64_t
auto get_varint_zigzag () -> std::int64_t
auto get_string_utf8 (const std::uint64_t length) -> sourcemeta::core::JSON::String

Member Typedef Documentation

◆ Stream

using sourcemeta::jsonbinpack::InputStream::Stream
Initial value:
std::basic_istream<sourcemeta::core::JSON::Char,
sourcemeta::core::JSON::CharTraits>