Reads bytes from the given buffer. More...
Public Member Functions | |
input_stream (void *p) | |
std::streamsize | xsgetn (char_type *s, std::streamsize n) final |
Reads the requested bytes from the buffer. | |
void const * | address (void) const noexcept |
Returns pointer to the buffer. | |
void * | address (void) noexcept |
Returns pointer to the buffer. | |
void | advance (const std::size_t size) noexcept |
Advances the buffer pointer. | |
std::streamsize | read_bytes (void) const noexcept |
Returns how many bytes have been read. | |
Reads bytes from the given buffer.