|
Monero
|
#include <binary_archive.h>


Public Member Functions | |
| binary_archive (epee::span< const std::uint8_t > s) | |
| bool | good () const noexcept |
| void | set_fail () noexcept |
| bool | eof () const noexcept |
| If implementing as std::istream, reset stream error state after peek() call. | |
| std::size_t | getpos () const noexcept |
| template<class T> | |
| void | serialize_int (T &v) |
| template<class T> | |
| void | serialize_uint (T &v) |
| serializes an unsigned integer | |
| void | serialize_blob (void *buf, size_t len, const char *delimiter="") |
| template<class T> | |
| void | serialize_varint (T &v) |
| template<class T> | |
| void | serialize_uvarint (T &v) |
| void | begin_array (size_t &s) |
| void | begin_array () |
| void | delimit_array () |
| void | end_array () |
| void | begin_string (const char *delimiter) |
| void | end_string (const char *delimiter) |
| void | read_variant_tag (variant_tag_type &t) |
| size_t | remaining_bytes () const noexcept |
| void | enable_varint_bug_backward_compatibility () |
| bool | varint_bug_backward_compatibility_enabled () const |
| Public Member Functions inherited from binary_archive_base< false > | |
| binary_archive_base () | |
| void | tag (const char *) |
| void | begin_object () |
| void | end_object () |
| void | begin_variant () |
| void | end_variant () |
Protected Attributes | |
| epee::span< const std::uint8_t > | bytes_ |
| std::uint8_t const *const | begin_ |
| bool | good_ |
| bool | varint_bug_backward_compatibility_ |
Additional Inherited Members | |
| Public Types inherited from binary_archive_base< false > | |
| typedef binary_archive_base< IsSaving > | base_type |
| typedef boost::mpl::bool_< IsSaving > | is_saving |
| typedef uint8_t | variant_tag_type |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
If implementing as std::istream, reset stream error state after peek() call.
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
serializes an unsigned integer
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |