C# Class RocketLeagueReplayParser.BitReader

Show file Open project: jjbott/RocketLeagueReplayParser Class Usage Examples

Public Methods

Method Description
BitReader ( bool bits ) : System
BitReader ( byte bytes ) : System
BitReader ( string bitString ) : System
GetBits ( int startPosition, int count ) : List
PeekBit ( ) : bool
ReadBit ( ) : bool
ReadBitsAsBytes ( int numBits ) : byte[]
ReadByte ( ) : byte
ReadBytes ( Int32 count ) : byte[]
ReadFixedCompressedFloat ( Int32 maxValue, Int32 numBits ) : float
ReadFloat ( ) : float
ReadInt32 ( ) : Int32
ReadInt32FromBits ( int numBits ) : Int32
ReadString ( ) : string
ReadUInt32 ( ) : UInt32
ReadUInt32FromBits ( int numBits ) : UInt32
ReadUInt32Max ( Int32 maxValue ) : UInt32
Seek ( int position ) : void

Private Methods

Method Description
BitsFromString ( string bitString ) : bool[]

Method Details

BitReader() public method

public BitReader ( bool bits ) : System
bits bool
return System

BitReader() public method

public BitReader ( byte bytes ) : System
bytes byte
return System

BitReader() public method

public BitReader ( string bitString ) : System
bitString string
return System

GetBits() public method

public GetBits ( int startPosition, int count ) : List
startPosition int
count int
return List

PeekBit() public method

public PeekBit ( ) : bool
return bool

ReadBit() public method

public ReadBit ( ) : bool
return bool

ReadBitsAsBytes() public method

public ReadBitsAsBytes ( int numBits ) : byte[]
numBits int
return byte[]

ReadByte() public method

public ReadByte ( ) : byte
return byte

ReadBytes() public method

public ReadBytes ( Int32 count ) : byte[]
count System.Int32
return byte[]

ReadFixedCompressedFloat() public method

public ReadFixedCompressedFloat ( Int32 maxValue, Int32 numBits ) : float
maxValue System.Int32
numBits System.Int32
return float

ReadFloat() public method

public ReadFloat ( ) : float
return float

ReadInt32() public method

public ReadInt32 ( ) : Int32
return System.Int32

ReadInt32FromBits() public method

public ReadInt32FromBits ( int numBits ) : Int32
numBits int
return System.Int32

ReadString() public method

public ReadString ( ) : string
return string

ReadUInt32() public method

public ReadUInt32 ( ) : UInt32
return System.UInt32

ReadUInt32FromBits() public method

public ReadUInt32FromBits ( int numBits ) : UInt32
numBits int
return System.UInt32

ReadUInt32Max() public method

public ReadUInt32Max ( Int32 maxValue ) : UInt32
maxValue System.Int32
return System.UInt32

Seek() public method

public Seek ( int position ) : void
position int
return void