C# Class System.IO.Compression.InputBuffer

显示文件 Open project: hprose/hprose-dotnet Class Usage Examples

Public Methods

Method Description
CopyTo ( byte output, int offset, int length ) : int
EnsureBitsAvailable ( int count ) : bool
GetBits ( int count ) : int
NeedsInput ( ) : bool
SetInput ( byte buffer, int offset, int length ) : void
SkipBits ( int n ) : void
SkipToByteBoundary ( ) : void
TryLoad16Bits ( ) : uint

Private Methods

Method Description
GetBitMask ( int count ) : uint

Method Details

CopyTo() public method

public CopyTo ( byte output, int offset, int length ) : int
output byte
offset int
length int
return int

EnsureBitsAvailable() public method

public EnsureBitsAvailable ( int count ) : bool
count int
return bool

GetBits() public method

public GetBits ( int count ) : int
count int
return int

NeedsInput() public method

public NeedsInput ( ) : bool
return bool

SetInput() public method

public SetInput ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
return void

SkipBits() public method

public SkipBits ( int n ) : void
n int
return void

SkipToByteBoundary() public method

public SkipToByteBoundary ( ) : void
return void

TryLoad16Bits() public method

public TryLoad16Bits ( ) : uint
return uint