Reads a coinData from 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 coinData
Writes value to buf at the specified offset
CoinData to be written to buf
Buffer object where the number 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 CoinData type https://github.com/nuls-io/nuls/blob/master/core-module/kernel/src/main/java/io/nuls/kernel/model/CoinData.java