Click or drag to resize

BsonUtils.ParseHexString Method

Parses a hex string into its equivalent byte array.

Namespace:  MongoDB.Bson
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
public static byte[] ParseHexString(
	string s
)

Parameters

s
Type: System.String
The hex string to parse.

Return Value

Type:Byte[]
The byte equivalent of the hex string.
See Also