C# Class fNbt.ZLibStream

DeflateStream wrapper that calculates Adler32 checksum of the written data, to allow writing ZLib header (RFC-1950).
ファイルを表示 Open project: fragmer/fNbt Class Usage Examples

Public Methods

Method Description
Write ( byte array, int offset, int count ) : void
ZLibStream ( [ stream, CompressionMode mode, bool leaveOpen ) : System.Collections.Generic

Private Methods

Method Description
UpdateChecksum ( [ data, int offset, int length ) : void

Method Details

Write() public method

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

ZLibStream() public method

public ZLibStream ( [ stream, CompressionMode mode, bool leaveOpen ) : System.Collections.Generic
stream [
mode CompressionMode
leaveOpen bool
return System.Collections.Generic