// System.out.println("Yes, using my code");
_buf = new byte[length];
if (offset + length > buf.length)
{
throw new IndexOutOfBoundsException("buffer length is " + buf.length +
"but code is trying to read " + length + " from offset " + offset);
}
System.arraycopy(buf, offset, _buf, 0, length);