Property | Type | Description | |
---|---|---|---|
DefaultEncoding | Encoding |
Method | Description | |
---|---|---|
ReadByteString ( this reader ) : string |
Reads a string with a pre-fixed length as a 8-bit integer from the underlying stream.
|
|
ReadByteString ( this reader, Encoding encoding ) : string |
Reads a string with a pre-fixed length as a 8-bit integer from the underlying stream.
|
|
ReadColour3 ( this reader ) : Color |
Reads a colour from the underlying stream.
|
|
ReadColour4 ( this reader ) : Color |
Reads a colour from the underlying stream.
|
|
ReadIntString ( this reader ) : string |
Reads a string with a pre-fixed length as a 32-bit integer from the underlying stream.
|
|
ReadIntString ( this reader, Encoding encoding ) : string |
Reads a string with a pre-fixed length as a 32-bit integer from the underlying stream.
|
|
ReadMatrix ( this reader ) : Matrix4x4 |
Reads a matrix from the underlying stream.
|
|
ReadNullTerminatedString ( this reader ) : string |
Reads a null-terminated string from the current stream.
|
|
ReadNullTerminatedString ( this reader, Encoding encoding ) : string |
Reads a null-terminated string from the current stream.
|
|
ReadQuaternion ( this reader, bool w = false ) : Quaternion |
Reads a quaternion from the underlying stream.
|
|
ReadShortString ( this reader ) : string |
Reads a string with a pre-fixed length as a 16-bit integer from the underlying stream.
|
|
ReadShortString ( this reader, Encoding encoding ) : string |
Reads a string with a pre-fixed length as a 16-bit integer from the underlying stream.
|
|
ReadShortVector3 ( this reader ) : ShortVector3 |
Reads a vector from the underlying stream.
|
|
ReadShortVector4 ( this reader ) : ShortVector4 |
Reads a vector from the underlying stream.
|
|
ReadString ( this reader, int length ) : string |
Reads a fixed-length string from the underlying stream.
|
|
ReadString ( this reader, int length, Encoding encoding ) : string |
Reads a fixed-length string from the underlying stream.
|
|
ReadVector2 ( this reader ) : Vector2 |
Reads a vector from the underlying stream.
|
|
ReadVector3 ( this reader ) : Vector3 |
Reads a vector from the underlying stream.
|
|
ReadVector4 ( this reader ) : Vector4 |
Reads a vector from the underlying stream.
|
Method | Description | |
---|---|---|
BinaryReaderExtensions ( ) : System.Collections.Generic |
Initializes the BinaryReaderExtensions class.
|
public static ReadByteString ( this reader ) : string | ||
reader | this | |
return | string |
public static ReadByteString ( this reader, Encoding encoding ) : string | ||
reader | this | |
encoding | Encoding | |
return | string |
public static ReadColour3 ( this reader ) : Color | ||
reader | this | |
return | Color |
public static ReadColour4 ( this reader ) : Color | ||
reader | this | |
return | Color |
public static ReadIntString ( this reader ) : string | ||
reader | this | |
return | string |
public static ReadIntString ( this reader, Encoding encoding ) : string | ||
reader | this | |
encoding | Encoding | |
return | string |
public static ReadMatrix ( this reader ) : Matrix4x4 | ||
reader | this | |
return | Matrix4x4 |
public static ReadNullTerminatedString ( this reader ) : string | ||
reader | this | |
return | string |
public static ReadNullTerminatedString ( this reader, Encoding encoding ) : string | ||
reader | this | |
encoding | Encoding | The character encoding. |
return | string |
public static ReadQuaternion ( this reader, bool w = false ) : Quaternion | ||
reader | this | The reader. |
w | bool | if set to |
return | Quaternion |
public static ReadShortString ( this reader ) : string | ||
reader | this | |
return | string |
public static ReadShortString ( this reader, Encoding encoding ) : string | ||
reader | this | |
encoding | Encoding | |
return | string |
public static ReadShortVector3 ( this reader ) : ShortVector3 | ||
reader | this | |
return | ShortVector3 |
public static ReadShortVector4 ( this reader ) : ShortVector4 | ||
reader | this | |
return | ShortVector4 |
public static ReadString ( this reader, int length ) : string | ||
reader | this | |
length | int | The length of the string. |
return | string |
public static ReadString ( this reader, int length, Encoding encoding ) : string | ||
reader | this | |
length | int | The length of the string. |
encoding | Encoding | The character encoding. |
return | string |
public static ReadVector2 ( this reader ) : Vector2 | ||
reader | this | |
return | Vector2 |
public static ReadVector3 ( this reader ) : Vector3 | ||
reader | this | |
return | Vector3 |
public static ReadVector4 ( this reader ) : Vector4 | ||
reader | this | |
return | Vector4 |