| 
    Kagome
    
   Polkadot Runtime Engine in C++17 
   | 
 
#include <buffer_stream.hpp>
Public Member Functions | |
| BufferStream (gsl::span< const uint8_t > buf) | |
| bool | hasMore (index_type num_bytes) const | 
| uint8_t | next () | 
| gsl::span< const uint8_t > | leftBytes () const | 
Private Types | |
| using | index_type = gsl::span< const uint8_t >::index_type | 
Private Attributes | |
| gsl::span< const uint8_t > | data_ | 
Needed for decoding, might be replaced to a more common stream in the future, when one appears
Definition at line 19 of file buffer_stream.hpp.
      
  | 
  private | 
Definition at line 20 of file buffer_stream.hpp.
      
  | 
  inlineexplicit | 
Definition at line 23 of file buffer_stream.hpp.
      
  | 
  inline | 
Definition at line 25 of file buffer_stream.hpp.
      
  | 
  inline | 
Definition at line 35 of file buffer_stream.hpp.
      
  | 
  inline | 
Definition at line 29 of file buffer_stream.hpp.
      
  | 
  private | 
Definition at line 40 of file buffer_stream.hpp.