get a variable size integer length using rice coding . negative values need 5 bytes . 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 CompressTool getInstance concode_elem_sep InputStream wrapInputStream concode_elem_sep OutputStream wrapOutputStream
int function ( int arg0 ) { if ( arg0 < 0 ) { return 5 ; } else if ( arg0 < 0x80 ) { return 1 ; } else if ( arg0 < 0x4000 ) { return 2 ; } else if ( arg0 < 0x200000 ) { return 3 ; } else if ( arg0 < 0x10000000 ) { return 4 ; } else { return 5 ; } }