public static void writeZigZagVarLong(long longValue, OutputStream out) throws IOException { writeUnsignedVarLong((longValue << 1) ^ (longValue >> 63), out); }