C# Class BitStream.BitIO.BitWriter

Datei anzeigen Open project: durow/TestArea Class Usage Examples

Public Properties

Property Type Description
BinString StringBuilder

Public Methods

Method Description
BitWriter ( ) : System
BitWriter ( int bitLength ) : System
GetBinString ( ) : string
GetBytes ( ) : byte[]
WriteByte ( byte b, int bitLength = 8 ) : void
WriteChar7 ( char c ) : void
WriteInt ( int i, int bitLength ) : void

Private Methods

Method Description
AppendBinString ( string bin, int bitLength ) : void
Check8 ( ) : void

Method Details

BitWriter() public method

public BitWriter ( ) : System
return System

BitWriter() public method

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

GetBinString() public method

public GetBinString ( ) : string
return string

GetBytes() public method

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

WriteByte() public method

public WriteByte ( byte b, int bitLength = 8 ) : void
b byte
bitLength int
return void

WriteChar7() public method

public WriteChar7 ( char c ) : void
c char
return void

WriteInt() public method

public WriteInt ( int i, int bitLength ) : void
i int
bitLength int
return void

Property Details

BinString public_oe property

public StringBuilder BinString
return StringBuilder