Reads a txDataReward buf at the specified offset
Buffer object from where the number will be read
Number of bytes to skip before starting to read
Size of the serialized data
the bytes size of a serialized txDataReward
Writes txDataReward to buf at the specified offset
Buffer object where the txDataReward will be written
Number of bytes to skip before starting to write.
Offset plus the number of bytes that has been written
Class to handle the protocol TxDataTransfer type http://dev.nuls.io/protocol/transaction.html#TX-TYPE-TRANSFER