void function ( long arg0 , DataOutput arg1 ) { while ( ( arg0 & 0xFFFFFFFFFFFFFF80L ) != 0L ) { arg1 . writeByte ( ( ( int ) arg0 & 0x7F ) | 0x80 ) ; arg0 >>>= 7 ; } arg1 . writeByte ( ( int ) arg0 & 0x7F ) ; }
encodes a value using the variable-length encoding from google protocol buffers . zig-zag is not used , so input must not be negative . if values can be negative , use #writesignedvarlong long , dataoutput instead . this method treats negative input as like a large unsigned value . concode_field_sep byte[] byteArrayList concode_elem_sep byte[] longByteArrayList concode_field_sep int readSignedVarInt concode_elem_sep int readSignedVarInt concode_elem_sep void writeSignedVarInt concode_elem_sep byte[] writeSignedVarInt concode_elem_sep int readUnsignedVarInt concode_elem_sep int readUnsignedVarInt concode_elem_sep void writeSignedVarLong concode_elem_sep byte[] writeSignedVarLong concode_elem_sep void writeUnsignedVarInt concode_elem_sep byte[] writeUnsignedVarInt concode_elem_sep long readUnsignedVarLong concode_elem_sep long readSignedVarLong