@ GwtIncompatible ( "ObjectOutput" ) private void writeEncodedInt ( ObjectOutput out , int value ) throws IOException { while ( value > 0X7f || value < 0 ) { out . writeByte ( ( ( value & 0X7f ) | 0x80 ) ) ; value >>>= 7 ; } out . writeByte ( value ) ; }
Encode integers using variable length encoding .