public byte [ ] read ( int offset , int length ) throws IOException { if ( ensureBuffer ( offset , length ) >= length ) { final byte [ ] array = new byte [ length ] ; System . arraycopy ( this . buffer , offset , array , 0 , length ) ; this . pos = offset + length ; return array ; } throw new EOFException ( ) ; }
Replies the bytes at the specified offset .