Function hotshot_types::utils::bincode_opts
source · pub fn bincode_opts(
) -> WithOtherTrailing<WithOtherIntEncoding<WithOtherEndian<WithOtherLimit<DefaultOptions, Infinite>, LittleEndian>, FixintEncoding>, RejectTrailing>
Expand description
For the wire format, we use bincode with the following options:
- No upper size limit
- Little endian encoding
- Varint encoding
- Reject trailing bytes