C# Class RocketLeagueReplayParser.BitWriter

Exibir arquivo Open project: jjbott/RocketLeagueReplayParser Class Usage Examples

Public Methods

Method Description
BitWriter ( int initialCapacity ) : System
GetBits ( int startPosition, int count ) : List
GetBytes ( ) : byte[]
ReadBitsAsBytes ( int numBits ) : byte[]
Write ( IEnumerable bytes ) : void
Write ( UInt32 value ) : void
Write ( UInt32 value, UInt32 maxValue ) : void
Write ( bool value ) : void
Write ( byte value ) : void
Write ( float value ) : void
WriteFixedBitCount ( UInt32 value, int numBits ) : void
WriteFixedCompressedFloat ( float Value, Int32 MaxValue, Int32 NumBits ) : void

Method Details

BitWriter() public method

public BitWriter ( int initialCapacity ) : System
initialCapacity int
return System

GetBits() public method

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

GetBytes() public method

public GetBytes ( ) : byte[]
return byte[]

ReadBitsAsBytes() public method

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

Write() public method

public Write ( IEnumerable bytes ) : void
bytes IEnumerable
return void

Write() public method

public Write ( UInt32 value ) : void
value System.UInt32
return void

Write() public method

public Write ( UInt32 value, UInt32 maxValue ) : void
value System.UInt32
maxValue System.UInt32
return void

Write() public method

public Write ( bool value ) : void
value bool
return void

Write() public method

public Write ( byte value ) : void
value byte
return void

Write() public method

public Write ( float value ) : void
value float
return void

WriteFixedBitCount() public method

public WriteFixedBitCount ( UInt32 value, int numBits ) : void
value System.UInt32
numBits int
return void

WriteFixedCompressedFloat() public method

public WriteFixedCompressedFloat ( float Value, Int32 MaxValue, Int32 NumBits ) : void
Value float
MaxValue System.Int32
NumBits System.Int32
return void