![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
Minimal stream for reading from an existing byte array by std::span. More...
#include <streams.h>
Public Member Functions | |
| SpanReader (std::span< const unsigned char > data) | |
| SpanReader (std::span< const std::byte > data) | |
| template<typename T > | |
| SpanReader & | operator>> (T &&obj) |
| size_t | size () const |
| bool | empty () const |
| void | read (std::span< std::byte > dst) |
| void | ignore (size_t n) |
Private Attributes | |
| std::span< const std::byte > | m_data |
Minimal stream for reading from an existing byte array by std::span.
|
inlineexplicit |
|
inline |
|
inline |