Public Types | |
using | Stream = std::basic_ostream< sourcemeta::core::JSON::Char, sourcemeta::core::JSON::CharTraits > |
Public Member Functions | |
OutputStream (Stream &output) | |
OutputStream (const OutputStream &)=delete | |
auto | operator= (const OutputStream &) -> OutputStream &=delete |
auto | position () const noexcept -> std::uint64_t |
auto | put_byte (const std::uint8_t byte) -> void |
auto | put_bytes (const std::uint16_t bytes) -> void |
auto | put_varint (const std::uint64_t value) -> void |
auto | put_varint_zigzag (const std::int64_t value) -> void |
auto | put_string_utf8 (const sourcemeta::core::JSON::String &string, const std::uint64_t length) -> void |