LzoHeader.tryRead

Checks whather chunk is valid or not. If it is valid this object's data members are initialised with the chunk header info.

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

Parameters

chunk void[]

input chunk

Return Value

Type: bool

true if the chunk is valid

Meta