writes an long in a variable-length format . writes between one and nine bytes . smaller values take fewer bytes . negative numbers are not supported . the format is described further in lucene its dataoutput #writevint int see datainput readvlong of lucene concode_field_sep byte[] bytes concode_elem_sep int pointer concode_field_sep void writeByte concode_elem_sep long getPosition concode_elem_sep void trimToSize concode_elem_sep long getLength concode_elem_sep byte readByte concode_elem_sep void seek concode_elem_sep long readVLong concode_elem_sep byte[] getBytes
void function ( long arg0 ) { assert arg0 >= 0L ; while ( ( arg0 & ~ 0x7FL ) != 0L ) { writeByte ( ( byte ) ( ( arg0 & 0x7FL ) | 0x80L ) ) ; arg0 >>>= 7 ; } writeByte ( ( byte ) arg0 ) ; }