Functions
getTransactionVersionEncoder
getTransactionVersionEncoder():
VariableSizeEncoder
<TransactionVersion
>
Returns an encoder that you can use to encode a TransactionVersion to a byte array.
Legacy messages will produce an empty array and will not advance the offset. Versioned messages will produce an array with a single byte.
Returns
VariableSizeEncoder
<TransactionVersion
>