CompressTool function ( ) { return new CompressTool ( ) ; }
get a new instance . each instance uses a separate buffer , so multiple instances can be used concurrently . however each instance alone is not multithreading safe . concode_field_sep byte[] cachedBuffer concode_elem_sep int MAX_BUFFER_SIZE concode_field_sep Compressor getCompressor concode_elem_sep Compressor getCompressor concode_elem_sep int writeVariableInt concode_elem_sep byte[] expand concode_elem_sep void expand concode_elem_sep int getCompressAlgorithm concode_elem_sep byte[] getBuffer concode_elem_sep byte[] compress concode_elem_sep int compress concode_elem_sep int readVariableInt concode_elem_sep int getVariableIntLength concode_elem_sep InputStream wrapInputStream concode_elem_sep OutputStream wrapOutputStream