Свойство | Тип | Описание | |
---|---|---|---|
currentChunkLength | int | ||
version | string |
Метод | Описание | |
---|---|---|
Serializer ( ) : System |
Default constructor.
|
Метод | Описание | |
---|---|---|
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 | ||
Результат | void |
protected IsEOF ( |
||
reader | ||
Результат | bool |
protected ReadBool ( |
||
reader | ||
Результат | bool |
protected ReadBytes ( |
||
reader | ||
count | int | Number of values to read. |
dest | Pointer to copy the values into. | |
Результат | void |
protected ReadFileChunk ( |
||
reader | ||
Результат | short |
protected ReadFileHeader ( |
||
reader | ||
Результат | void |
protected ReadFloat ( |
||
reader | ||
Результат | float |
protected ReadFloats ( |
||
reader | ||
count | int | Number of values to read. |
dest | Pointer to copy the values into. | |
Результат | 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'. |
Результат | void |
protected ReadInt ( |
||
reader | ||
Результат | int |
protected ReadInts ( |
||
reader | ||
count | int | Number of values to read. |
dest | Pointer to copy the values into. | |
Результат | void |
protected ReadLong ( |
||
reader | ||
Результат | long |
protected ReadQuat ( |
||
reader | ||
Результат |
protected ReadShort ( |
||
reader | ||
Результат | short |
protected ReadShorts ( |
||
reader | ||
count | int | Number of values to read. |
dest | Pointer to copy the values into. | |
Результат | void |
protected ReadString ( |
||
reader | ||
Результат | string |
protected ReadString ( |
||
reader | ||
delimiter | char | The character that signals the end of the string. |
Результат | string |
protected ReadUInt ( |
||
reader | ||
Результат | uint |
protected ReadULong ( |
||
reader | ||
Результат | ulong |
protected ReadUShort ( |
||
reader | ||
Результат | ushort |
protected ReadVector3 ( |
||
reader | ||
Результат | Vector3 |
protected ReadVector4 ( |
||
reader | ||
Результат | Vector4 |
protected Seek ( |
||
reader | ||
length | long | |
Результат | void |
protected Seek ( |
||
reader | ||
length | long | Number of bytes to skip. |
origin | SeekOrigin | |
Результат | void |
protected WriteBool ( |
||
writer | ||
val | bool | |
Результат | void |
protected WriteBytes ( |
||
writer | ||
count | int | Number of values to write. |
src | Pointer that holds the values. | |
Результат | void |
protected WriteChunk ( |
||
writer | ||
id | MeshChunkID | |
chunkLength | int | |
Результат | void |
protected WriteChunk ( |
||
writer | ||
id | SkeletonChunkID | |
chunkLength | int | |
Результат | void |
protected WriteFileHeader ( |
||
writer | ||
fileVersion | string | |
Результат | void |
protected WriteFloat ( |
||
writer | ||
val | float | |
Результат | void |
protected WriteFloats ( |
||
writer | ||
count | int | Number of values to write. |
src | Pointer that holds the values. | |
Результат | void |
protected WriteInt ( |
||
writer | ||
val | int | |
Результат | void |
protected WriteInts ( |
||
writer | ||
count | int | Number of values to write. |
src | Pointer that holds the values. | |
Результат | void |
protected WriteLong ( |
||
writer | ||
val | long | |
Результат | void |
protected WriteQuat ( |
||
writer | ||
quat | ||
Результат | void |
protected WriteShort ( |
||
writer | ||
val | short | |
Результат | void |
protected WriteShorts ( |
||
writer | ||
count | int | Number of values to write. |
src | Pointer that holds the values. | |
Результат | void |
protected WriteString ( |
||
writer | ||
str | string | |
Результат | void |
protected WriteString ( |
||
writer | ||
str | string | |
delimiter | char | The character that signals the end of the string. |
Результат | void |
protected WriteUInt ( |
||
writer | ||
val | uint | |
Результат | void |
protected WriteULong ( |
||
writer | ||
val | ulong | |
Результат | void |
protected WriteUShort ( |
||
writer | ||
val | ushort | |
Результат | void |
protected WriteVector3 ( |
||
writer | ||
vector | Vector3 | |
Результат | void |
protected WriteVector4 ( |
||
writer | ||
vector | Vector4 | |
Результат | void |