lz4HeaderChecksum

private fnubyte lz4HeaderChecksum(const(ubyte)[] header)

Compute the single-byte LZ4 frame header checksum (HC).

HC is defined as the 8 most-significant bits of the XXH32 hash of the frame header bytes, starting from the FLG byte up to the last optional header field.