|
MyraMath
|
An InputStream that thinly wraps a const char* buffer. More...
#include <ByteStreams.h>
Public Member Functions | |
| ByteInputStream (const char *in_buffer, size_t in_N) | |
| Constructor, wraps a const char* buffer of size N. | |
| virtual void | read_binary (char *p, size_t n) |
| Reads n bytes from buffer, writing into p. Throws if total number of bytes exceeds N (overrun). | |
| size_t | remaining () const |
| Returns how many unread bytes still remain. | |
Public Member Functions inherited from myra::InputStream | |
| template<class T > | |
| T | read () |
An InputStream that thinly wraps a const char* buffer.
1.8.13