question: public void compress ( final ByteBuffer buf , final OutputStream os ) { if ( true && buf . hasArray ( ) ) { final int off = buf . arrayOffset ( ) + buf . position ( ) ; final int len = buf . remaining ( ) ; compress ( buf . array ( ) , off , len , os ) ; buf . position ( buf . limit ( ) ) ; return ; } throw new UnsupportedOperationException ( ) ; }
target:  Writes the buffer on the output stream.