Method | Description | |
---|---|---|
EnsureBufferSize ( int numberOfBits ) : void |
Ensures the buffer can hold this number of bits
|
|
ReadAllFields ( object target ) : void |
Reads all public and private declared instance fields of the object in alphabetical order using reflection
|
|
ReadAllFields ( object target, BindingFlags flags ) : void |
Reads all fields with the specified binding of the object in alphabetical order using reflection
|
|
ReadAllProperties ( object target ) : void |
Reads all public and private declared instance fields of the object in alphabetical order using reflection
|
|
ReadAllProperties ( object target, BindingFlags flags ) : void |
Reads all fields with the specified binding of the object in alphabetical order using reflection
|
|
ReadBits ( byte into, int offset, int numberOfBits ) : void |
Reads the specified number of bits into a preallocated array
|
|
ReadBoolean ( ) : bool |
Reads a boolean value (stored as a single bit) written using Write(bool)
|
|
ReadByte ( byte &result ) : bool |
Reads a byte and returns true or false for success
|
|
ReadByte ( ) : byte |
Reads a byte
|
|
ReadByte ( int numberOfBits ) : byte |
Reads 1 to 8 bits into a byte
|
|
ReadBytes ( int numberOfBytes, byte &result ) : bool |
Reads the specified number of bytes and returns true for success
|
|
ReadBytes ( int numberOfBytes ) : byte[] |
Reads the specified number of bytes
|
|
ReadBytes ( byte into, int offset, int numberOfBytes ) : void |
Reads the specified number of bytes into a preallocated array
|
|
ReadDouble ( ) : double |
Reads a 64 bit floating point value written using Write(Double)
|
|
ReadFloat ( ) : float |
Reads a 32 bit floating point value written using Write(Single)
|
|
ReadIPEndPoint ( ) : |
Reads a stored IPv4 endpoint description
|
|
ReadInt16 ( ) : |
Reads a 16 bit signed integer written using Write(Int16)
|
|
ReadInt32 ( ) : |
Reads a 32 bit signed integer written using Write(Int32)
|
|
ReadInt32 ( int numberOfBits ) : |
Reads a signed integer stored in 1 to 32 bits, written using Write(Int32, Int32)
|
|
ReadInt64 ( ) : System.Int64 |
Reads a 64 bit signed integer written using Write(Int64)
|
|
ReadInt64 ( int numberOfBits ) : System.Int64 |
Reads a signed integer stored in 1 to 64 bits, written using Write(Int64, Int32)
|
|
ReadPadBits ( ) : void |
Pads data with enough bits to reach a full byte. Decreases cpu usage for subsequent byte writes.
|
|
ReadRangedInteger ( int min, int max ) : int |
Reads a 32 bit integer value written using WriteRangedInteger()
|
|
ReadRangedSingle ( float min, float max, int numberOfBits ) : float |
Reads a 32 bit floating point value written using WriteRangedSingle()
|
|
ReadSignedSingle ( int numberOfBits ) : float |
Reads a 32 bit floating point value written using WriteSignedSingle()
|
|
ReadSingle ( float &result ) : bool |
Reads a 32 bit floating point value written using Write(Single)
|
|
ReadSingle ( ) : float |
Reads a 32 bit floating point value written using Write(Single)
|
|
ReadString ( string &result ) : bool |
Reads a string written using Write(string) and returns true for success
|
|
ReadString ( ) : string |
Reads a string written using Write(string)
|
|
ReadTime ( |
Reads a value, in local time comparable to NetTime.Now, written using WriteTime() for the connection supplied
|
|
ReadUnitSingle ( int numberOfBits ) : float |
Reads a 32 bit floating point value written using WriteUnitSingle()
|
|
ReadVariableInt32 ( ) : int |
Reads a variable sized Int32 written using WriteVariableInt32()
|
|
ReadVariableInt64 ( ) : System.Int64 |
Reads a variable sized Int64 written using WriteVariableInt64()
|
|
ReadVector3 ( ) : System.Vector3 |
|
|
SkipPadBits ( ) : void |
Pads data with enough bits to reach a full byte. Decreases cpu usage for subsequent byte writes.
|
|
SkipPadBits ( int numberOfBits ) : void |
Pads data with the specified number of bits.
|
|
Write ( |
Writes an endpoint description
|
|
Write ( |
Writes a signed 16 bit integer
|
|
Write ( |
Writes a 32 bit signed integer
|
|
Write ( |
Writes a signed integer using 1 to 32 bits
|
|
Write ( System.Int64 source ) : void |
Writes a 64 bit signed integer
|
|
Write ( System.Int64 source, int numberOfBits ) : void |
Writes a signed integer using 1 to 64 bits
|
|
Write ( |
Append all the bits of message to this message
|
|
Write ( |
Writes a 32 bit unsigned integer
|
|
Write ( System.Vector3 source ) : void |
Writes a 32 bit floating point value
|
|
Write ( bool value ) : void |
Writes a boolean value using 1 bit
|
|
Write ( byte source ) : void |
Write a byte
|
|
Write ( byte source, int numberOfBits ) : void |
Writes 1 to 8 bits of a byte
|
|
Write ( byte source, int offsetInBytes, int numberOfBytes ) : void |
Writes the specified number of bytes from an array
|
|
Write ( double source ) : void |
Writes a 64 bit floating point value
|
|
Write ( float source ) : void |
Writes a 32 bit floating point value
|
|
Write ( string source ) : void |
Write a string
|
|
WriteAllFields ( object ob ) : void |
Writes all public and private declared instance fields of the object in alphabetical order using reflection
|
|
WriteAllFields ( object ob, BindingFlags flags ) : void |
Writes all fields with specified binding in alphabetical order using reflection
|
|
WriteAllProperties ( object ob ) : void |
Writes all public and private declared instance properties of the object in alphabetical order using reflection
|
|
WriteAllProperties ( object ob, BindingFlags flags ) : void |
Writes all properties with specified binding in alphabetical order using reflection
|
|
WriteAt ( |
Writes a 16 bit signed integer at a given offset in the buffer
|
|
WriteAt ( |
Writes a 32 bit signed integer at a given offset in the buffer
|
|
WritePadBits ( ) : void |
Pads data with enough bits to reach a full byte. Decreases cpu usage for subsequent byte writes.
|
|
WritePadBits ( int numberOfBits ) : void |
Pads data with the specified number of bits.
|
|
WriteRangedInteger ( int min, int max, int value ) : int |
Writes an integer with the least amount of bits need for the specified range Returns number of bits written
|
|
WriteRangedSingle ( float value, float min, float max, int numberOfBits ) : void |
Compress a float within a specified range using a certain number of bits
|
|
WriteSignedSingle ( float value, int numberOfBits ) : void |
Compress (lossy) a float in the range -1..1 using numberOfBits bits
|
|
WriteTime ( bool highPrecision ) : void |
Writes the current local time to a message; readable (and convertable to local time) by the remote host using ReadTime()
|
|
WriteTime ( double localTime, bool highPrecision ) : void |
Writes a local timestamp to a message; readable (and convertable to local time) by the remote host using ReadTime()
|
|
WriteUnitSingle ( float value, int numberOfBits ) : void |
Compress (lossy) a float in the range 0..1 using numberOfBits bits
|
|
WriteVariableInt32 ( int value ) : int |
Write Base128 encoded variable sized signed integer of up to 32 bits
|
|
WriteVariableInt64 ( System.Int64 value ) : int |
Write Base128 encoded variable sized signed integer of up to 64 bits
|
Method | Description | |
---|---|---|
InternalEnsureBufferSize ( int numberOfBits ) : void |
Ensures the buffer can hold this number of bits
|
|
ReadInt32 ( |
||
ReadSByte ( ) : sbyte | ||
ReadUInt16 ( ) : |
||
ReadUInt32 ( ) : |
||
ReadUInt32 ( int numberOfBits ) : |
||
ReadUInt32 ( |
||
ReadUInt64 ( ) : System.UInt64 | ||
ReadUInt64 ( int numberOfBits ) : System.UInt64 | ||
ReadVariableUInt32 ( uint &result ) : bool | ||
ReadVariableUInt32 ( ) : uint | ||
ReadVariableUInt64 ( ) : System.UInt64 | ||
Write ( |
||
Write ( |
||
Write ( |
||
Write ( System.UInt64 source ) : void | ||
Write ( System.UInt64 source, int numberOfBits ) : void | ||
Write ( sbyte source ) : void | ||
WriteAt ( |
||
WriteAt ( |
||
WriteAt ( |
||
WriteVariableUInt32 ( uint value ) : int | ||
WriteVariableUInt64 ( System.UInt64 value ) : int |
public EnsureBufferSize ( int numberOfBits ) : void | ||
numberOfBits | int | |
return | void |
public ReadAllFields ( object target ) : void | ||
target | object | |
return | void |
public ReadAllFields ( object target, BindingFlags flags ) : void | ||
target | object | |
flags | BindingFlags | |
return | void |
public ReadAllProperties ( object target ) : void | ||
target | object | |
return | void |
public ReadAllProperties ( object target, BindingFlags flags ) : void | ||
target | object | |
flags | BindingFlags | |
return | void |
public ReadBits ( byte into, int offset, int numberOfBits ) : void | ||
into | byte | The destination array |
offset | int | The offset where to start writing in the destination array |
numberOfBits | int | The number of bits to read |
return | void |
public ReadBytes ( int numberOfBytes, byte &result ) : bool | ||
numberOfBytes | int | |
result | byte | |
return | bool |
public ReadBytes ( int numberOfBytes ) : byte[] | ||
numberOfBytes | int | |
return | byte[] |
public ReadBytes ( byte into, int offset, int numberOfBytes ) : void | ||
into | byte | The destination array |
offset | int | The offset where to start writing in the destination array |
numberOfBytes | int | The number of bytes to read |
return | void |
public ReadInt32 ( int numberOfBits ) : |
||
numberOfBits | int | |
return |
public ReadInt64 ( int numberOfBits ) : System.Int64 | ||
numberOfBits | int | |
return | System.Int64 |
public ReadRangedInteger ( int min, int max ) : int | ||
min | int | The minimum value used when writing the value |
max | int | The maximum value used when writing the value |
return | int |
public ReadRangedSingle ( float min, float max, int numberOfBits ) : float | ||
min | float | The minimum value used when writing the value |
max | float | The maximum value used when writing the value |
numberOfBits | int | The number of bits used when writing the value |
return | float |
public ReadSignedSingle ( int numberOfBits ) : float | ||
numberOfBits | int | The number of bits used when writing the value |
return | float |
public ReadTime ( |
||
connection | ||
highPrecision | bool | |
return | double |
public ReadUnitSingle ( int numberOfBits ) : float | ||
numberOfBits | int | The number of bits used when writing the value |
return | float |
public SkipPadBits ( int numberOfBits ) : void | ||
numberOfBits | int | |
return | void |
public Write ( |
||
endPoint | ||
return | void |
public Write ( |
||
source | ||
numberOfBits | int | |
return | void |
public Write ( System.Int64 source, int numberOfBits ) : void | ||
source | System.Int64 | |
numberOfBits | int | |
return | void |
public Write ( System.Vector3 source ) : void | ||
source | System.Vector3 | |
return | void |
public Write ( byte source, int numberOfBits ) : void | ||
source | byte | |
numberOfBits | int | |
return | void |
public Write ( byte source, int offsetInBytes, int numberOfBytes ) : void | ||
source | byte | |
offsetInBytes | int | |
numberOfBytes | int | |
return | void |
public WriteAllFields ( object ob, BindingFlags flags ) : void | ||
ob | object | |
flags | BindingFlags | |
return | void |
public WriteAllProperties ( object ob ) : void | ||
ob | object | |
return | void |
public WriteAllProperties ( object ob, BindingFlags flags ) : void | ||
ob | object | |
flags | BindingFlags | |
return | void |
public WriteAt ( |
||
offset | ||
source | ||
return | void |
public WriteAt ( |
||
offset | ||
source | ||
return | void |
public WritePadBits ( int numberOfBits ) : void | ||
numberOfBits | int | |
return | void |
public WriteRangedInteger ( int min, int max, int value ) : int | ||
min | int | |
max | int | |
value | int | |
return | int |
public WriteRangedSingle ( float value, float min, float max, int numberOfBits ) : void | ||
value | float | |
min | float | |
max | float | |
numberOfBits | int | |
return | void |
public WriteSignedSingle ( float value, int numberOfBits ) : void | ||
value | float | |
numberOfBits | int | |
return | void |
public WriteTime ( bool highPrecision ) : void | ||
highPrecision | bool | |
return | void |
public WriteTime ( double localTime, bool highPrecision ) : void | ||
localTime | double | |
highPrecision | bool | |
return | void |
public WriteUnitSingle ( float value, int numberOfBits ) : void | ||
value | float | |
numberOfBits | int | |
return | void |
public WriteVariableInt32 ( int value ) : int | ||
value | int | |
return | int |
public WriteVariableInt64 ( System.Int64 value ) : int | ||
value | System.Int64 | |
return | int |