|
| JsonMemoryBufferStream (Memory::MemoryBuffer &buffer) |
|
char | Peek () const |
| Read the current character from stream without moving the read cursor.
|
|
char | Take () |
| Read the current character from stream and moving the read cursor to next character.
|
|
size_t | Tell () |
|
char * | PutBegin () |
| Not used. See RapidJSON spec.
|
|
void | Put (char c) |
| Write a character.
|
|
void | Flush () |
| Flush the buffer.
|
|
size_t | PutEnd (char *begin) |
|
Definition at line 8 of file JsonMemoryBufferStream.h.
◆ Ch
using Cogs::Core::JsonMemoryBufferStream::Ch = char |
◆ JsonMemoryBufferStream()
◆ Flush()
void Cogs::Core::JsonMemoryBufferStream::Flush |
( |
| ) |
|
|
inline |
◆ Peek()
char Cogs::Core::JsonMemoryBufferStream::Peek |
( |
| ) |
const |
|
inline |
◆ Put()
void Cogs::Core::JsonMemoryBufferStream::Put |
( |
char |
c | ) |
|
|
inline |
◆ PutBegin()
char * Cogs::Core::JsonMemoryBufferStream::PutBegin |
( |
| ) |
|
|
inline |
◆ PutEnd()
size_t Cogs::Core::JsonMemoryBufferStream::PutEnd |
( |
char * |
begin | ) |
|
|
inline |
End the writing operation.
- Parameters
-
begin | The begin write pointer returned by PutBegin(). |
- Returns
- Number of characters written.
Definition at line 36 of file JsonMemoryBufferStream.h.
◆ Take()
char Cogs::Core::JsonMemoryBufferStream::Take |
( |
| ) |
|
|
inline |
Read the current character from stream and moving the read cursor to next character.
Definition at line 18 of file JsonMemoryBufferStream.h.
◆ Tell()
size_t Cogs::Core::JsonMemoryBufferStream::Tell |
( |
| ) |
|
|
inline |
◆ mBuffer
The documentation for this class was generated from the following file: