LzoHeader.isNullChunk

Checks whether chunk is a Null chunk, that is, it has a Null header. A Null header is defined as

void[size_t.sizeof] null_header;
null_header[] = 0;

Since no payload can be follow a Null header, a Null header is a complete chunk on itself, that is the Null chunk.

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

Parameters

chunk void[]

input chunk

Return Value

Type: bool

true if chunk is a Null chunk or false otherwise.

Meta