pub fn decode_header(data: &[u8]) -> Result<JournalHeader, ChangesetError>
Decode a header from bytes.