LzoHeader.read

Reads the header from chunk and sets the members of this instance to the values contained in the header.

struct LzoHeader(bool LengthInline = true)
void[]
read
(
void[] chunk
)

Parameters

chunk void[]

chunk with header (or Null chunk)

Return Value

Type: void[]

payload from chunk (with header data stripped)

Throws

CompressException if chunk is shorter than this.read_length

Meta