public static void WriteZigZag7BitEncodedInt(this Stream stream, int value) { Write7BitEncodedInt(stream, (value << 1) ^ (value >> 31)); }