System.VarintBitConverter.ToByte C# (CSharp) Method

ToByte() public static method

Returns byte value from varint encoded array of bytes.
public static ToByte ( byte bytes ) : byte
bytes byte Varint encoded array of bytes.
return byte
        public static byte ToByte(byte[] bytes)
        {
            return (byte)ToTarget(bytes, 8);
        }