Reads a txDataDeposit buf at the specified offset
Buffer object from where the data will be read
Number of bytes to skip before starting to read
Size of the serialized data
the bytes size of a serialized txDataDeposit
Writes txDataDeposit to buf at the specified offset
txDataDeposit to be written to buf
Buffer object where the txDataDeposit will be written
Number of bytes to skip before starting to write. Must satisfy
Offset plus the number of bytes that has been written
Class to handle the protocol TxDataDeposit type https://github.com/nuls-io/nuls/blob/4436795eabe864437de013b83aee0dca0d5400bf/consensus-module/poc/consensus-poc-protocol/src/main/java/io/nuls/consensus/poc/protocol/entity/Deposit.java#L42