Reads a tx buf at the specified offset
Buffer object from where the block will be read
Number of bytes to skip before starting to read
Size of the serialized data
the bytes size of a serialized block
Writes data to buf at the specified offset
Block data to be written to buffer
Buffer object where the block 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 Block type