Method | Description | |
---|---|---|
ReadAngle ( ) : Angle |
Reads an returns an angle object from the bitstream.
|
|
ReadBool ( ) : bool |
Reads 1 bit an returns a bool representing the bit.
|
|
ReadChar ( ) : sbyte |
Reads a signed char and returns a number from -127 to 127 representing the ascii value of that char.
|
|
ReadEntity ( ) : |
Reads a short representing an entity index and returns the matching entity handle.
|
|
ReadFloat ( ) : double |
Reads a 4 byte float from the bitstream and returns it.
|
|
ReadLong ( ) : int |
Reads a 4 byte long from the bitstream and returns it.
|
|
ReadShort ( ) : short |
Reads a 2 byte short from the bitstream and returns it.
|
|
ReadString ( ) : string |
Reads a null terminated string from the bitstream.
|
|
ReadVector ( ) : Vector |
Reads a special encoded vector from the bitstream and returns it, this function is not suitable to send normals.
|
|
ReadVectorNormal ( ) : Vector |
Reads a special encoded vector normal from the bitstream and returns it, this function is not suitable to send vectors that represent a position.
|
|
Reset ( ) : void |
Rewinds the bitstream so it can be read again.
|
|
bf_read ( int index ) |