LzoHeader.lengthValid

Checks whether the chunk_length member is correct for the given chunk.

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

Parameters

chunk void[]

chunk to check (with header)

Return Value

Type: size_t

true if the length of chunk corresponds to the chunk_length member

Meta