Input stream using a fixed buffer. More...
#include <FixedStream.h>


Public Types | |
| typedef FixedStreamBuf | StreamBuf |
Public Member Functions | |
| FixedIstream (const char *buf, const char *end) | |
| Constructs the input stream from an existing buffer; all streamed objects are read from that buffer. More... | |
| char * | input () |
| Returns a pointer to the beginning of the input buffer. More... | |
| char * | input_ptr () |
| Returns a pointer to the current position in the input buffer. More... | |
| char * | input_end () |
| Returns a pointer to the end of the input buffer. More... | |
Additional Inherited Members | |
Private Member Functions inherited from Hypertable::FixedStreamBuf | |
| FixedStreamBuf (char *buf, size_t len) | |
| Constructor. More... | |
| FixedStreamBuf (const char *buf, const char *next, const char *end) | |
| Constructor. More... | |
| String | str () |
| Returns a String object from the output buffer. More... | |
Input stream using a fixed buffer.
Definition at line 104 of file FixedStream.h.
Definition at line 106 of file FixedStream.h.
|
inline |
Constructs the input stream from an existing buffer; all streamed objects are read from that buffer.
| buf | Pointer to the beginning of the memory buffer |
| end | Pointer to the end of the memory buffer |
Definition at line 114 of file FixedStream.h.
|
inline |
Returns a pointer to the beginning of the input buffer.
Definition at line 120 of file FixedStream.h.
|
inline |
Returns a pointer to the end of the input buffer.
Definition at line 126 of file FixedStream.h.
|
inline |
Returns a pointer to the current position in the input buffer.
Definition at line 123 of file FixedStream.h.
1.8.8