C# Class Nethereum.Hex.HexConvertors.Extensions.HexByteConvertorExtensions

Exibir arquivo Open project: Nethereum/Nethereum

Public Methods

Method Description
EnsureHexPrefix ( this value ) : string
EnsureHexPrefix ( this values ) : string[]
HasHexPrefix ( this value ) : bool
HexToByteArray ( this value ) : byte[]
IsTheSameHex ( this first, string second ) : bool
RemoveHexPrefix ( this value ) : string
ToHex ( this value, bool prefix = false ) : string
ToHexCompact ( this value ) : string

Private Methods

Method Description
FromCharacterToByte ( char character, int index, int shift ) : byte

Method Details

EnsureHexPrefix() public static method

public static EnsureHexPrefix ( this value ) : string
value this
return string

EnsureHexPrefix() public static method

public static EnsureHexPrefix ( this values ) : string[]
values this
return string[]

HasHexPrefix() public static method

public static HasHexPrefix ( this value ) : bool
value this
return bool

HexToByteArray() public static method

public static HexToByteArray ( this value ) : byte[]
value this
return byte[]

IsTheSameHex() public static method

public static IsTheSameHex ( this first, string second ) : bool
first this
second string
return bool

RemoveHexPrefix() public static method

public static RemoveHexPrefix ( this value ) : string
value this
return string

ToHex() public static method

public static ToHex ( this value, bool prefix = false ) : string
value this
prefix bool
return string

ToHexCompact() public static method

public static ToHexCompact ( this value ) : string
value this
return string