Skip to content

sgns::storage::trie::BufferStream

More...

#include <buffer_stream.hpp>

Public Functions

Name
BufferStream(const base::Buffer & buf)
bool hasMore(index_type num_bytes) const
uint8_t next()
gsl::span< const uint8_t > leftBytes() const

Detailed Description

class sgns::storage::trie::BufferStream;

Needed for decoding, might be replaced to a more common stream in the future, when one appears

Public Functions Documentation

function BufferStream

inline explicit BufferStream(
    const base::Buffer & buf
)

function hasMore

inline bool hasMore(
    index_type num_bytes
) const

function next

inline uint8_t next()

function leftBytes

inline gsl::span< const uint8_t > leftBytes() const

Updated on 2026-03-04 at 13:10:44 -0800