-
ValueBuffer.get(byte[] dst)
Starting from current position, read dst.length number of bytes and copy the data to dst
Sets this buffer's mark at its position.
Sets this buffer's position.
Resets this buffer's position to the previously-marked position.
ValueBuffer.wrap(byte[] array)
Wrap given bytes and create a new instance of ValueBuffer
The instance will have position of 0.
Wrap modbus registers and create a new instance of ValueBuffer
The instance will have position of 0.