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);
        }