Avro.Util.Zag C# (CSharp) 메소드

Zag() 공개 정적인 메소드

public static Zag ( uint ziggedValue ) : int
ziggedValue uint
리턴 int
        public static int Zag(uint ziggedValue)
        {
            int value = (int)ziggedValue;
            return (-(value & 0x01)) ^ ((value >> 1) & ~Util.Int32Msb);
        }

Same methods

Util::Zag ( ulong ziggedValue ) : long