pub fn decode_transaction_header(
    bytes: &[u8]
) -> Result<(TransactionHeader, &[u8])>
Expand description

Decodes the transaction header from a message. Returns the header and a reference to the tail of the message.