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