public static int compress ( byte [ ] input , int inputOffset , int inputLength , byte [ ] output , int outputOffset ) throws IOException { return rawCompress ( input , inputOffset , inputLength , output , outputOffset ) ; }
Compress the input buffer content in [ inputOffset ... inputOffset + inputLength ) then output to the specified output buffer .