C# Class CSharpUtils.BitWriter

Helper class for writing bit values, bit blocks in LSB and MSB bits formats.
Show file Open project: soywiz/csharputils

Private Properties

Property Type Description

Public Methods

Method Description
Align ( ) : void
BitWriter ( Stream stream ) : System.IO
WriteBit ( bool value ) : void
WriteLSB ( int value, int length ) : void
WriteMSB ( int value, int length ) : void

Method Details

Align() public method

public Align ( ) : void
return void

BitWriter() public method

public BitWriter ( Stream stream ) : System.IO
stream Stream
return System.IO

WriteBit() public method

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

WriteLSB() public method

public WriteLSB ( int value, int length ) : void
value int
length int
return void

WriteMSB() public method

public WriteMSB ( int value, int length ) : void
value int
length int
return void