![]() |
Ark Server API (ASE) - Wiki
|
A convenient wrapper for using Buffer and MemoryStream with BinarWriter. More...
#include <BinaryWriter.h>
Inheritance diagram for Poco::BasicMemoryBinaryWriter< T >:
Collaboration diagram for Poco::BasicMemoryBinaryWriter< T >:Public Member Functions | |
| BasicMemoryBinaryWriter (Buffer< T > &data, StreamByteOrder byteOrder=NATIVE_BYTE_ORDER) | |
| BasicMemoryBinaryWriter (Buffer< T > &data, TextEncoding &encoding, StreamByteOrder byteOrder=NATIVE_BYTE_ORDER) | |
| ~BasicMemoryBinaryWriter () | |
| Buffer< T > & | data () |
| const Buffer< T > & | data () const |
| const MemoryOutputStream & | stream () const |
| MemoryOutputStream & | stream () |
Public Member Functions inherited from Poco::BinaryWriter | |
| BinaryWriter (std::ostream &ostr, StreamByteOrder byteOrder=NATIVE_BYTE_ORDER) | |
| BinaryWriter (std::ostream &ostr, TextEncoding &encoding, StreamByteOrder byteOrder=NATIVE_BYTE_ORDER) | |
| Creates the BinaryWriter. | |
| ~BinaryWriter () | |
| BinaryWriter & | operator<< (bool value) |
| Destroys the BinaryWriter. | |
| BinaryWriter & | operator<< (char value) |
| BinaryWriter & | operator<< (unsigned char value) |
| BinaryWriter & | operator<< (signed char value) |
| BinaryWriter & | operator<< (short value) |
| BinaryWriter & | operator<< (unsigned short value) |
| BinaryWriter & | operator<< (int value) |
| BinaryWriter & | operator<< (unsigned int value) |
| BinaryWriter & | operator<< (long value) |
| BinaryWriter & | operator<< (unsigned long value) |
| BinaryWriter & | operator<< (float value) |
| BinaryWriter & | operator<< (double value) |
| BinaryWriter & | operator<< (const std::string &value) |
| BinaryWriter & | operator<< (const char *value) |
| template<typename T > | |
| BinaryWriter & | operator<< (const std::vector< T > &value) |
| void | write7BitEncoded (UInt32 value) |
| void | writeRaw (const std::string &rawData) |
| void | writeRaw (const char *buffer, std::streamsize length) |
| Writes the string as-is to the stream. | |
| void | writeBOM () |
| Writes length raw bytes from the given buffer to the stream. | |
| void | flush () |
| bool | good () |
| Flushes the underlying stream. | |
| bool | fail () |
| Returns _ostr.good();. | |
| bool | bad () |
| Returns _ostr.fail();. | |
| std::ostream & | stream () const |
| Returns _ostr.bad();. | |
| StreamByteOrder | byteOrder () const |
| Returns the underlying stream. | |
Private Attributes | |
| Buffer< T > & | _data |
| MemoryOutputStream | _ostr |
Additional Inherited Members | |
Public Types inherited from Poco::BinaryWriter | |
| enum | StreamByteOrder { NATIVE_BYTE_ORDER = 1 , BIG_ENDIAN_BYTE_ORDER = 2 , NETWORK_BYTE_ORDER = 2 , LITTLE_ENDIAN_BYTE_ORDER = 3 } |
A convenient wrapper for using Buffer and MemoryStream with BinarWriter.
Definition at line 168 of file BinaryWriter.h.
|
inline |
Definition at line 172 of file BinaryWriter.h.
|
inline |
Definition at line 179 of file BinaryWriter.h.
|
inline |
Definition at line 186 of file BinaryWriter.h.
|
inline |
Definition at line 198 of file BinaryWriter.h.
|
inline |
Definition at line 203 of file BinaryWriter.h.
|
inline |
Definition at line 213 of file BinaryWriter.h.
|
inline |
Definition at line 208 of file BinaryWriter.h.
|
private |
Definition at line 219 of file BinaryWriter.h.
|
private |
Definition at line 220 of file BinaryWriter.h.