pub fn decode_transaction_header( bytes: &[u8], ) -> Result<(TransactionHeader, &[u8]), Error>
Decodes the transaction header from a message. Returns the header and a reference to the tail of the message.