Method | Description | |
---|---|---|
PeekBoolean ( ) : bool |
Reads a 1-bit Boolean without advancing the read pointer
|
|
PeekByte ( ) : byte |
Reads a Byte without advancing the read pointer
|
|
PeekByte ( int numberOfBits ) : byte |
Reads the specified number of bits into a Byte without advancing the read pointer
|
|
PeekBytes ( int numberOfBytes ) : byte[] |
Reads the specified number of bytes without advancing the read pointer
|
|
PeekBytes ( byte into, int offset, int numberOfBytes ) : void |
Reads the specified number of bytes without advancing the read pointer
|
|
PeekDataBuffer ( ) : byte[] |
Returns the internal data buffer, don't modify
|
|
PeekDouble ( ) : double |
Reads a 64-bit Double without advancing the read pointer
|
|
PeekFloat ( ) : float |
Reads a 32-bit Single without advancing the read pointer
|
|
PeekInt16 ( ) : |
Reads an Int16 without advancing the read pointer
|
|
PeekInt32 ( ) : |
Reads an Int32 without advancing the read pointer
|
|
PeekInt32 ( int numberOfBits ) : |
Reads the specified number of bits into an Int32 without advancing the read pointer
|
|
PeekInt64 ( ) : System.Int64 |
Reads an Int64 without advancing the read pointer
|
|
PeekInt64 ( int numberOfBits ) : System.Int64 |
Reads the specified number of bits into an Int64 without advancing the read pointer
|
|
PeekSByte ( ) : sbyte |
Reads an SByte without advancing the read pointer
|
|
PeekSingle ( ) : float |
Reads a 32-bit Single without advancing the read pointer
|
|
PeekString ( ) : string |
Reads a string without advancing the read pointer
|
|
PeekUInt16 ( ) : |
Reads a UInt16 without advancing the read pointer
|
|
PeekUInt32 ( ) : |
Reads a UInt32 without advancing the read pointer
|
|
PeekUInt32 ( int numberOfBits ) : |
Reads the specified number of bits into a UInt32 without advancing the read pointer
|
|
PeekUInt64 ( ) : System.UInt64 |
Reads a UInt64 without advancing the read pointer
|
|
PeekUInt64 ( int numberOfBits ) : System.UInt64 |
Reads the specified number of bits into an UInt64 without advancing the read pointer
|
|
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 |
Reads a byte
|
|
ReadByte ( int numberOfBits ) : byte |
Reads 1 to 8 bits into a byte
|
|
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()
|
|
ReadSByte ( ) : sbyte |
Reads a signed byte
|
|
ReadSignedSingle ( int numberOfBits ) : float |
Reads a 32 bit floating point value written using WriteSignedSingle()
|
|
ReadSingle ( ) : float |
Reads a 32 bit floating point value written using Write(Single)
|
|
ReadString ( ) : string |
Reads a string written using Write(string)
|
|
ReadTime ( bool highPrecision ) : double |
Reads a value, in local time comparable to NetTime.Now, written using WriteTime() Must have a connected sender
|
|
ReadUInt16 ( ) : |
Reads a 16 bit unsigned integer written using Write(UInt16)
|
|
ReadUInt32 ( ) : |
Reads an 32 bit unsigned integer written using Write(UInt32)
|
|
ReadUInt32 ( int numberOfBits ) : |
Reads an unsigned integer stored in 1 to 32 bits, written using Write(UInt32, Int32)
|
|
ReadUInt64 ( ) : System.UInt64 |
Reads a 64 bit unsigned integer written using Write(UInt64)
|
|
ReadUInt64 ( int numberOfBits ) : System.UInt64 |
Reads an unsigned integer stored in 1 to 64 bits, written using Write(UInt64, Int32)
|
|
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()
|
|
ReadVariableUInt32 ( ) : uint |
Reads a variable sized UInt32 written using WriteVariableUInt32()
|
|
ReadVariableUInt64 ( ) : System.UInt64 |
Reads a variable sized UInt32 written using WriteVariableInt64()
|
|
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.
|
Method | Description | |
---|---|---|
NetIncomingMessage ( ) : System |
public PeekBytes ( int numberOfBytes ) : byte[] | ||
numberOfBytes | int | |
return | byte[] |
public PeekBytes ( byte into, int offset, int numberOfBytes ) : void | ||
into | byte | |
offset | int | |
numberOfBytes | int | |
return | void |
public PeekInt32 ( int numberOfBits ) : |
||
numberOfBits | int | |
return |
public PeekInt64 ( int numberOfBits ) : System.Int64 | ||
numberOfBits | int | |
return | System.Int64 |
public PeekUInt32 ( int numberOfBits ) : |
||
numberOfBits | int | |
return |
public PeekUInt64 ( int numberOfBits ) : System.UInt64 | ||
numberOfBits | int | |
return | System.UInt64 |
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[] | ||
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 ( bool highPrecision ) : double | ||
highPrecision | bool | |
return | double |
public ReadUInt32 ( int numberOfBits ) : |
||
numberOfBits | int | |
return |
public ReadUInt64 ( int numberOfBits ) : System.UInt64 | ||
numberOfBits | int | |
return | System.UInt64 |
public ReadUnitSingle ( int numberOfBits ) : float | ||
numberOfBits | int | The number of bits used when writing the value |
return | float |
public ReadVariableUInt64 ( ) : System.UInt64 | ||
return | System.UInt64 |
public SkipPadBits ( int numberOfBits ) : void | ||
numberOfBits | int | |
return | void |