Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockHeader ¶
type BlockHeader struct { Magic []byte Version int8 Type int8 Unused int8 BlockSizeExponent int8 NumberOfBlocks int32 DecompressedSize int64 CompressedBlockSizeList []int32 }
func NewBlockHeader ¶
func NewBlockHeader(reader io.Reader) (*BlockHeader, error)
type Decompressor ¶
func NewBlockDecompressor ¶
func NewBlockDecompressor(reader io.ReadSeeker) (*Decompressor, error)
func (*Decompressor) Close ¶
func (d *Decompressor) Close()
type NSZSection ¶
type NSZSection struct { Offset int64 Size int64 CryptoType int64 Pad int64 CryptoKey []byte CryptoCounter []byte }
func NSZSectionDummy ¶
func NSZSectionDummy(size, offset int64) NSZSection
func NSZSectionFromReader ¶
func NSZSectionFromReader(reader io.Reader) (*NSZSection, error)
Click to show internal directories.
Click to hide internal directories.