public void compress(byte[] bytes,int off,int len,OutputStream os){
  try {
    os.write(bytes,off,len);
  }
 catch (  IOException e) {
    throw new RuntimeException(e);
  }
}

public void compress ( byte [ ] bytes , int off , int len , OutputStream os ) { try { os . write ( bytes , off , len ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } }
writes the bytes on the output stream .
