presto-orc/src/main/java/io/prestosql/orc/stream/LongOutputStreamV2.java/SerializationUtils/zigzagEncode
class SerializationUtils:        static long zigzagEncode(long value)
        {
            return (value << 1) ^ (value >> 63);
        }