Quantum 3
3.0.9
Byte stream extension methods. More...
Static Public Member Functions | |
| static Boolean | Serialize (this ByteStream stream, Boolean write, Boolean value) |
| Write or read a bool value to or from the byte stream. More... | |
| static Button | Serialize (this ByteStream stream, Boolean write, Button value) |
| Write or read a Button value to or from the byte stream. More... | |
| static void | Serialize (this ByteStream stream, Boolean write, Byte *ptr, Int32 size) |
| Write or read a byte array to or from the byte stream. More... | |
| static Byte | Serialize (this ByteStream stream, Boolean write, Byte value) |
| Write or read a byte value to or from the byte stream. More... | |
| static Char | Serialize (this ByteStream stream, Boolean write, Char value) |
| Write or read a char value to or from the byte stream. More... | |
| static FP | Serialize (this ByteStream stream, Boolean write, FP value) |
| Write or read a FP value to or from the byte stream. More... | |
| static FPQuaternion | Serialize (this ByteStream stream, Boolean write, FPQuaternion value) |
| Write or read a FPQuaternion value to or from the byte stream. More... | |
| static FPVector2 | Serialize (this ByteStream stream, Boolean write, FPVector2 value) |
| Write or read a FPVector2 value to or from the byte stream. More... | |
| static FPVector3 | Serialize (this ByteStream stream, Boolean write, FPVector3 value) |
| Write or read a FPVector3 value to or from the byte stream. More... | |
| static Int16 | Serialize (this ByteStream stream, Boolean write, Int16 value) |
| Write or read a short value to or from the byte stream. More... | |
| static Int32 | Serialize (this ByteStream stream, Boolean write, Int32 value, bool varInt=false) |
| Write or read an integer value to or from the byte stream. More... | |
| static Int64 | Serialize (this ByteStream stream, Boolean write, Int64 value) |
| Write or read a long value to or from the byte stream. More... | |
| static SByte | Serialize (this ByteStream stream, Boolean write, SByte value) |
| Write or read a signed byte value to or from the byte stream. More... | |
| static UInt16 | Serialize (this ByteStream stream, Boolean write, UInt16 value) |
| Write or read an unsigned short value to or from the byte stream. More... | |
| static UInt32 | Serialize (this ByteStream stream, Boolean write, UInt32 value) |
| Write or read an unsigned integer value to or from the byte stream. More... | |
| static UInt64 | Serialize (this ByteStream stream, Boolean write, UInt64 value) |
| Write or read an unsigned long value to or from the byte stream. More... | |
| static T[] | SerializeArrayLength< T > (this ByteStream stream, Boolean write, T[] array, bool varInt=false) |
| Serialize or deserialize an array from the byte stream. More... | |
| static Byte[] | SerializeByteArray (this ByteStream stream, Boolean write, Byte[] array) |
| Write or read a byte array to or from the byte stream. More... | |
| static Int32[] | SerializeIntArray (this ByteStream stream, Boolean write, Int32[] array, bool varInt=false) |
| Write or load an integer array to or from the byte stream More... | |
| static FP | SerializeRaw (this ByteStream stream, Boolean write, FP value) |
| Write or read a FP value as raw to or from the byte stream. More... | |
| static String | SerializeString (this ByteStream stream, Boolean write, String value) |
| Write or read a string to or from the byte stream. More... | |
Byte stream extension methods.
|
inlinestatic |
Serialize or deserialize an array from the byte stream.
| T | Type of array |
| stream | Target stream |
| write | Stream write or read mode |
| array | Source array |
| varInt | Use int compression |
|
inlinestatic |
Write or read a string to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to serialize or deserialize |
|
inlinestatic |
Write or read a byte array to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| array | The array to write or read |
|
inlinestatic |
Write or load an integer array to or from the byte stream
| stream | Target stream |
| write | Stream write or read mode |
| array | Source array |
| varInt | Use var int compression |
|
inlinestatic |
Write or read a byte array to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| ptr | Pointer to byte array |
| size | Byte array lengh |
|
inlinestatic |
Write or read a Button value to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |
|
inlinestatic |
Write or read a bool value to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |
|
inlinestatic |
Write or read a byte value to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |
|
inlinestatic |
Write or read a signed byte value to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |
|
inlinestatic |
Write or read a char value to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |
|
inlinestatic |
Write or read an unsigned short value to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |
|
inlinestatic |
Write or read a short value to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |
|
inlinestatic |
Write or read an unsigned integer value to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |
|
inlinestatic |
Write or read an integer value to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |
| varInt | Use int compression |
|
inlinestatic |
Write or read an unsigned long value to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |
|
inlinestatic |
Write or read a long value to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |
|
inlinestatic |
Write or read a FP value to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |
|
inlinestatic |
Write or read a FP value as raw to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |
|
inlinestatic |
Write or read a FPVector2 value to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |
|
inlinestatic |
Write or read a FPVector3 value to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |
|
inlinestatic |
Write or read a FPQuaternion value to or from the byte stream.
| stream | Target stream |
| write | Stream write or read mode |
| value | The value to write or read |