|
CartoType API
|
#include <cartotype_stream.h>
Public Member Functions | |
| TDataOutputStream (MOutputStream &aOutputStream) | |
| CT_IMPORT TResult | WriteUint8 (uint8 aValue) |
| CT_IMPORT TResult | WriteUint16 (uint16 aValue) |
| CT_IMPORT TResult | WriteUint32 (uint32 aValue) |
| CT_IMPORT TResult | WriteUint (uint32 aValue, int32 aSize) |
| TResult | WriteFixed (const TFixed &aFixed) |
| CT_IMPORT TResult | WriteNullTerminatedString (const MString &aString) |
| CT_IMPORT TResult | WriteBytes (const uint8 *aBuffer, uint32 aBytes) |
A data output stream. It writes integers, strings and blocks of data to a data sink provided by a class derived from MOutputStream.
| CT_EXPORT TResult TDataOutputStream::WriteBytes | ( | const uint8 * | aBuffer, |
| uint32 | aBytes | ||
| ) |
Write a number of bytes from a buffer.
Write a fixed number.
Write a null terminated string according to the current encoding and endianness.
| CT_EXPORT TResult TDataOutputStream::WriteUint | ( | uint32 | aValue, |
| int32 | aSize | ||
| ) |
Write integer of size aSize. aSize must be 1, 2 or 4.
| CT_EXPORT TResult TDataOutputStream::WriteUint16 | ( | uint16 | aValue | ) |
Write a 2 byte integer.
| CT_EXPORT TResult TDataOutputStream::WriteUint32 | ( | uint32 | aValue | ) |
Write a 4 byte integer.
| CT_EXPORT TResult TDataOutputStream::WriteUint8 | ( | uint8 | aValue | ) |
Write a single byte integer.
1.7.5.1