pub fn decode_header(data: &[u8]) -> Option<DecodedHeader>Expand description
Decode an account header from raw bytes.
Works on any data that starts with a 16-byte Hopper header. Does not validate – just reads the bytes.
pub fn decode_header(data: &[u8]) -> Option<DecodedHeader>Decode an account header from raw bytes.
Works on any data that starts with a 16-byte Hopper header. Does not validate – just reads the bytes.