C# Class Stumps.HexExtensionMethods

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

Méthodes publiques

Méthode 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 méthode

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

ToHexString() public static méthode

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