#include <ZStringByteSource.h>
|
| | ZStringByteSource (const char *input) |
| |
| void | Reset (const char *newString=0) |
| |
| | CharBufferByteSource (const char *input, u32 length) |
| |
| virtual int | ReadByte () |
| |
| void | ChangeBuffer (const char *newBuffer, u32 bufferLength) |
| |
| void | Reset () |
| |
| | ByteSource () |
| |
| s32 | Read () |
| |
| void | Unread () |
| |
| s32 | Peek () |
| |
| virtual | ~ByteSource () |
| |
| u32 | GetBytesRead () |
| |
| bool | Scan (u64 &result) |
| |
| bool | Scan (s32 &result, Format::Type code=Format::DEC, u32 fieldWidth=U32_MAX) |
| |
| bool | Scan (u32 &result, Format::Type code=Format::DEC, u32 fieldWidth=U32_MAX) |
| |
| bool | Scan (ByteSerializable &byteSerializable, s32 argument=0) |
| |
|
bool | ScanLexDigits (u32 &digits) |
| |
|
bool | Scan (ByteSink &result, const u32 fieldWidth) |
| |
|
s32 | ScanSet (ByteSink &result, const char *setSpec) |
| |
| s32 | SkipSet (const char *setSpec) |
| |
|
s32 | ScanSetFormat (ByteSink &result, const char *&setSpec) |
| |
| bool | ScanIdentifier (ByteSink &result) |
| |
| bool | ScanHex (ByteSink &result) |
| |
| bool | ScanBinary (ByteSink &result) |
| |
| bool | ScanCamelIdentifier (ByteSink &result) |
| |
| s32 | SkipWhitespace () |
| |
|
s32 | Scanf (const char *format,...) |
| |
| s32 | Vscanf (const char *format, va_list &ap) |
| |
A ByteSource which is backed by a null-terminated string.
| MFM::ZStringByteSource::ZStringByteSource |
( |
const char * |
input | ) |
|
|
inline |
Creates a new ZStringByteSource backed by a null-terminated string.
- Parameters
-
| input | The null-terminated String to be used as the source for bytes of this ByteSource. |
| void MFM::ZStringByteSource::Reset |
( |
const char * |
newString = 0 | ) |
|
|
inline |
Resets this ZStringByteSource to either a specified string or, if the specified string is NULL, the string which was already loaded into this ZStringByteSource .
- Parameters
-
The documentation for this class was generated from the following file: