C# Class natix.CompactDS.BitStream32

Inheritance: IBitStream
Datei anzeigen Open project: sadit/natix Class Usage Examples

Public Properties

Property Type Description
Buffer List

Public Methods

Method Description
AssertEquality ( object obj ) : void
BitStream32 ( ) : System
BitStream32 ( BitStream32 bstream ) : System
BitStream32 ( int buffersizeuint ) : System
Clear ( ) : void
Get32 ( int i ) : uint

Returns the specified uint (position i), please notice that bitcounter is not checked

Load ( BinaryReader r ) : void
Read ( int numbits, BitStreamCtx ctx ) : System.UInt64
Read ( BitStreamCtx ctx ) : bool
ReadOnes ( BitStreamCtx ctx ) : int
ReadZeros ( BitStreamCtx ctx ) : int
Save ( BinaryWriter w ) : void
Set32 ( int i, UInt32 val ) : void

Set the complete uint (val) at the specified position (i), please notice that bitcounter is not modified

ToString ( ) : string
Write ( bool x ) : void
Write ( bool x, int times ) : void
Write ( int x, int numbits ) : void
Write ( long x, int numbits ) : void
Write ( uint x, int numbits ) : void
Write ( ulong x, int numbits ) : void
WriteAt ( uint x, int numbits, long pos ) : void
this ( long i ) : bool

Method Details

AssertEquality() public method

public AssertEquality ( object obj ) : void
obj object
return void

BitStream32() public method

public BitStream32 ( ) : System
return System

BitStream32() public method

public BitStream32 ( BitStream32 bstream ) : System
bstream BitStream32
return System

BitStream32() public method

public BitStream32 ( int buffersizeuint ) : System
buffersizeuint int
return System

Clear() public method

public Clear ( ) : void
return void

Get32() public method

Returns the specified uint (position i), please notice that bitcounter is not checked
public Get32 ( int i ) : uint
i int
return uint

Load() public method

public Load ( BinaryReader r ) : void
r System.IO.BinaryReader
return void

Read() public method

public Read ( int numbits, BitStreamCtx ctx ) : System.UInt64
numbits int
ctx BitStreamCtx
return System.UInt64

Read() public method

public Read ( BitStreamCtx ctx ) : bool
ctx BitStreamCtx
return bool

ReadOnes() public method

public ReadOnes ( BitStreamCtx ctx ) : int
ctx BitStreamCtx
return int

ReadZeros() public method

public ReadZeros ( BitStreamCtx ctx ) : int
ctx BitStreamCtx
return int

Save() public method

public Save ( BinaryWriter w ) : void
w System.IO.BinaryWriter
return void

Set32() public method

Set the complete uint (val) at the specified position (i), please notice that bitcounter is not modified
public Set32 ( int i, UInt32 val ) : void
i int
val System.UInt32
return void

ToString() public method

public ToString ( ) : string
return string

Write() public method

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

Write() public method

public Write ( bool x, int times ) : void
x bool
times int
return void

Write() public method

public Write ( int x, int numbits ) : void
x int
numbits int
return void

Write() public method

public Write ( long x, int numbits ) : void
x long
numbits int
return void

Write() public method

public Write ( uint x, int numbits ) : void
x uint
numbits int
return void

Write() public method

public Write ( ulong x, int numbits ) : void
x ulong
numbits int
return void

WriteAt() public method

public WriteAt ( uint x, int numbits, long pos ) : void
x uint
numbits int
pos long
return void

this() public method

public this ( long i ) : bool
i long
return bool

Property Details

Buffer public_oe property

public List Buffer
return List