Property | Type | Description | |
---|---|---|---|
currentChunkLength | int | ||
version | string |
Method | Description | |
---|---|---|
Serializer ( ) : System |
Default constructor.
|
Method | Description | |
---|---|---|
IgnoreCurrentChunk ( |
Skips past a particular chunk. Only really used during development, when logic for handling particular chunks is not yet complete. |
|
IsEOF ( |
||
ReadBool ( |
||
ReadBytes ( |
Reads a specified number of floats and copies them into the destination pointer.
|
|
ReadFileChunk ( |
Reads a chunk ID and chunk size.
|
|
ReadFileHeader ( |
Reads a file header and checks the version string.
|
|
ReadFloat ( |
||
ReadFloats ( |
Reads a specified number of floats and copies them into the destination pointer.
|
|
ReadFloats ( |
Reads a specified number of floats and copies them into the destination pointer. This overload will also copy the values into the specified destination array. |
|
ReadInt ( |
||
ReadInts ( |
Reads a specified number of integers and copies them into the destination pointer.
|
|
ReadLong ( |
||
ReadQuat ( |
Reads and returns a Quaternion.
|
|
ReadShort ( |
||
ReadShorts ( |
Reads a specified number of shorts and copies them into the destination pointer.
|
|
ReadString ( |
Reads from the stream up to the first endline character.
|
|
ReadString ( |
Reads from the stream up to the specified delimiter character.
|
|
ReadUInt ( |
||
ReadULong ( |
||
ReadUShort ( |
||
ReadVector3 ( |
Reads and returns a Vector3 structure.
|
|
ReadVector4 ( |
Reads and returns a Vector4 structure.
|
|
Seek ( |
||
Seek ( |
Skips to a particular part of the binary stream.
|
|
WriteBool ( |
||
WriteBytes ( |
Writes a specified number of bytes.
|
|
WriteChunk ( |
Writes a chunk ID and chunk size. This would be more accurately named WriteChunkHeader, but this name is the counter of ReadChunk.
|
|
WriteChunk ( |
Writes a chunk ID and chunk size. This would be more accurately named WriteChunkHeader, but this name is the counter of ReadChunk.
|
|
WriteFileHeader ( |
Writes a file header and version string.
|
|
WriteFloat ( |
||
WriteFloats ( |
Writes a specified number of floats.
|
|
WriteInt ( |
||
WriteInts ( |
Writes a specified number of integers.
|
|
WriteLong ( |
||
WriteQuat ( |
Reads and returns a Quaternion.
|
|
WriteShort ( |
||
WriteShorts ( |
Writes a specified number of shorts.
|
|
WriteString ( |
Writes the string to the stream including the endline character.
|
|
WriteString ( |
Writes the string to the stream including the specified delimiter character.
|
|
WriteUInt ( |
||
WriteULong ( |
||
WriteUShort ( |
||
WriteVector3 ( |
Writes a Vector3 structure.
|
|
WriteVector4 ( |
Writes a Vector4 structure.
|
protected IgnoreCurrentChunk ( |
||
reader | ||
return | void |
protected IsEOF ( |
||
reader | ||
return | bool |
protected ReadBool ( |
||
reader | ||
return | bool |
protected ReadBytes ( |
||
reader | ||
count | int | Number of values to read. |
dest | Pointer to copy the values into. | |
return | void |
protected ReadFileChunk ( |
||
reader | ||
return | short |
protected ReadFileHeader ( |
||
reader | ||
return | void |
protected ReadFloat ( |
||
reader | ||
return | float |
protected ReadFloats ( |
||
reader | ||
count | int | Number of values to read. |
dest | Pointer to copy the values into. | |
return | void |
protected ReadFloats ( |
||
reader | ||
count | int | Number of values to read. |
dest | Pointer to copy the values into. | |
destArray | float | A float array that is to have the values copied into it at the same time as 'dest'. |
return | void |
protected ReadInt ( |
||
reader | ||
return | int |
protected ReadInts ( |
||
reader | ||
count | int | Number of values to read. |
dest | Pointer to copy the values into. | |
return | void |
protected ReadLong ( |
||
reader | ||
return | long |
protected ReadQuat ( |
||
reader | ||
return |
protected ReadShort ( |
||
reader | ||
return | short |
protected ReadShorts ( |
||
reader | ||
count | int | Number of values to read. |
dest | Pointer to copy the values into. | |
return | void |
protected ReadString ( |
||
reader | ||
return | string |
protected ReadString ( |
||
reader | ||
delimiter | char | The character that signals the end of the string. |
return | string |
protected ReadUInt ( |
||
reader | ||
return | uint |
protected ReadULong ( |
||
reader | ||
return | ulong |
protected ReadUShort ( |
||
reader | ||
return | ushort |
protected ReadVector3 ( |
||
reader | ||
return | Vector3 |
protected ReadVector4 ( |
||
reader | ||
return | Vector4 |
protected Seek ( |
||
reader | ||
length | long | |
return | void |
protected Seek ( |
||
reader | ||
length | long | Number of bytes to skip. |
origin | SeekOrigin | |
return | void |
protected WriteBool ( |
||
writer | ||
val | bool | |
return | void |
protected WriteBytes ( |
||
writer | ||
count | int | Number of values to write. |
src | Pointer that holds the values. | |
return | void |
protected WriteChunk ( |
||
writer | ||
id | MeshChunkID | |
chunkLength | int | |
return | void |
protected WriteChunk ( |
||
writer | ||
id | SkeletonChunkID | |
chunkLength | int | |
return | void |
protected WriteFileHeader ( |
||
writer | ||
fileVersion | string | |
return | void |
protected WriteFloat ( |
||
writer | ||
val | float | |
return | void |
protected WriteFloats ( |
||
writer | ||
count | int | Number of values to write. |
src | Pointer that holds the values. | |
return | void |
protected WriteInt ( |
||
writer | ||
val | int | |
return | void |
protected WriteInts ( |
||
writer | ||
count | int | Number of values to write. |
src | Pointer that holds the values. | |
return | void |
protected WriteLong ( |
||
writer | ||
val | long | |
return | void |
protected WriteQuat ( |
||
writer | ||
quat | ||
return | void |
protected WriteShort ( |
||
writer | ||
val | short | |
return | void |
protected WriteShorts ( |
||
writer | ||
count | int | Number of values to write. |
src | Pointer that holds the values. | |
return | void |
protected WriteString ( |
||
writer | ||
str | string | |
return | void |
protected WriteString ( |
||
writer | ||
str | string | |
delimiter | char | The character that signals the end of the string. |
return | void |
protected WriteUInt ( |
||
writer | ||
val | uint | |
return | void |
protected WriteULong ( |
||
writer | ||
val | ulong | |
return | void |
protected WriteUShort ( |
||
writer | ||
val | ushort | |
return | void |
protected WriteVector3 ( |
||
writer | ||
vector | Vector3 | |
return | void |
protected WriteVector4 ( |
||
writer | ||
vector | Vector4 | |
return | void |