C# Class Versionr.ObjectStore.LZHAMLegacyStream

Inheritance: System.IO.Stream
Show file Open project: eatplayhate/versionr Class Usage Examples

Private Properties

Property Type Description
CreateDecompressionStream System.IntPtr
Decompress void
DecompressData int
DecompressSetSource int
DestroyDecompressionStream bool

Public Methods

Method Description
Flush ( ) : void
LZHAMLegacyStream ( System baseStream, bool readFirstID, long outputSize = null ) : System
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
CreateDecompressionStream ( int windowBits ) : IntPtr
Decompress ( ) : void
DecompressData ( IntPtr stream, byte output, int outLength, bool &finished ) : int
DecompressSetSource ( IntPtr stream, byte output, int outLength ) : int
DestroyDecompressionStream ( IntPtr stream ) : bool

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

public Flush ( ) : void
return void

LZHAMLegacyStream() public method

public LZHAMLegacyStream ( System baseStream, bool readFirstID, long outputSize = null ) : System
baseStream System
readFirstID bool
outputSize long
return System

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void