System.VarintBitConverter.ToInt64 C# (CSharp) 메소드

ToInt64() 공개 정적인 메소드

Returns 64-bit signed value from varint encoded array of bytes.
public static ToInt64 ( byte bytes ) : long
bytes byte Varint encoded array of bytes.
리턴 long
        public static long ToInt64(byte[] bytes)
        {
            var zigzag = ToTarget(bytes, 64);
            return DecodeZigZag(zigzag);
        }