public byte [ ] getBytes ( int offset , int length ) throws IOException { if ( ( offset + length ) > fsize ) { throw new java . io . IOException ( "Reached EOF" ) ; } byte [ ] ret = new byte [ length ] ; System . arraycopy ( file , offset , ret , 0 , length ) ; return ret ; }
Return a copy of the internal array