Binary copyChunk(Binary block, Int offset, Int bsize)
Arguments
block: The block of dataoffset: The initial offsetbsize: The size of new block to create.
Usage
Creates a new block from the contents of the original starting at offset with a length of bsize bytes. An OffsetOutOfRange exception will be thrown if it attempts to access a value outside the block.