/** Returns the length of the encoding of the given value (in bytes). */ public static int getLength(int v) { return getLength(convertIntToLongNoSignExtend(v)); }
/** Encodes the given value onto the stream. */ public static void encode(int v, OutputStream stream) throws IOException { encode(convertIntToLongNoSignExtend(v), stream); }