프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |