6 #ifndef KAGOME_CORE_STORAGE_TRIE_BUFFER_STREAM 7 #define KAGOME_CORE_STORAGE_TRIE_BUFFER_STREAM 26 return data_.size() >= num_bytes;
30 auto byte =
data_.at(0);
44 #endif // KAGOME_CORE_STORAGE_TRIE_BUFFER_STREAM
gsl::span< const uint8_t > leftBytes() const
BufferStream(gsl::span< const uint8_t > buf)
bool hasMore(index_type num_bytes) const
gsl::span< const uint8_t > data_
gsl::span< const uint8_t >::index_type index_type