System.VarintBitConverter.GetVarintBytes C# (CSharp) Method

GetVarintBytes() public static method

Returns the specified byte value as varint encoded array of bytes.
public static GetVarintBytes ( byte value ) : byte[]
value byte Byte value
return byte[]
        public static byte[] GetVarintBytes(byte value)
        {
            return GetVarintBytes((ulong)value);
        }

Same methods

VarintBitConverter::GetVarintBytes ( int value ) : byte[]
VarintBitConverter::GetVarintBytes ( long value ) : byte[]
VarintBitConverter::GetVarintBytes ( short value ) : byte[]
VarintBitConverter::GetVarintBytes ( uint value ) : byte[]
VarintBitConverter::GetVarintBytes ( ulong value ) : byte[]
VarintBitConverter::GetVarintBytes ( ushort value ) : byte[]