public byte [ ] getBytes ( int size ) { _checkForRead ( size ) ; byte [ ] dst = new byte [ size ] ; _buf . get ( dst , 0 , size ) ; return dst ; }
Returns a byte array of length size from the buffer from current position