LzoHeader.readStart

Reads chunk which is expected to be a Start chunk or a Null chunk.

After chunk has been read, this.type is either set to Start, if the provided chunk was a start chunk, or to Stop for a Null chunk. this.uncompressed_size reflects the total uncompressed size of the data in the chunks that will follow.

struct LzoHeader(bool LengthInline = true)
typeof(&this)
readStart
(
void[] chunk
)

Parameters

chunk void[]

input chunk

Throws

CompressException if chunk is neither a Start chunk, as expected, nor a Null chunk

Meta