Fixed to use ByteBuffer position and remaining values to specify dump range