fn decodeZstandardHeader(source: anytype) @TypeOf(source).Error || error{EndOfStream, ReservedBitSet}!ZstandardHeader
[src]
Decode the header of a Zstandard frame.
Errors returned:
error.ReservedBitSet
if any of the reserved bits of the header are seterror.EndOfStream
ifsource
does not contain a complete header