Table of Contents

FromHexadecimal Method

Definition

Namespace
Cuemon.Text
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Text/ParserFactory.cs

FromHexadecimal()

Creates a parser that converts a string, represented in hexadecimal digits, to its equivalent byte array.

public static IParser<byte[]> FromHexadecimal()

Returns

IParser<byte[]>

An implementation of IConfigurableParser<TOptions> that produces byte arrays.

Exceptions

ArgumentNullException

string cannot be null.

ArgumentException

string must be hexadecimal.