C# Class Stumps.HexExtensionMethods

A class that provides a conversion between byte arrays an a HEX representation.
Exibir arquivo Open project: Cayan-LLC/stumps

Public Methods

Method Description
ToByteArray ( this hexValue ) : byte[]

Converts a hex-encoded string into a byte array.

ToHexString ( this byteArray ) : string

Converts a byte array into a hex-encoded string.

Method Details

ToByteArray() public static method

Converts a hex-encoded string into a byte array.
public static ToByteArray ( this hexValue ) : byte[]
hexValue this The hex-encoded string.
return byte[]

ToHexString() public static method

Converts a byte array into a hex-encoded string.
public static ToHexString ( this byteArray ) : string
byteArray this The byte array to encode.
return string