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

ToUInt16() 공개 정적인 메소드

Returns 16-bit usigned value from varint encoded array of bytes.
public static ToUInt16 ( byte bytes ) : ushort
bytes byte Varint encoded array of bytes.
리턴 ushort
        public static ushort ToUInt16(byte[] bytes)
        {
            return (ushort)ToTarget(bytes, 16);
        }