writeSlice
Creates a new ReadWriteBuffer point to a region of the current buffer, starting at offset with size size.
Return
ReadWriteBuffer slice.
Parameters
offset
starting position of the ReadWriteBuffer
size
in bytes of the ReadWriteBuffer