Skip to main content

decode_header

Function decode_header 

Source
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.