ToByteArray Method

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Convert a hexadecimal string to a byte array

Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)

Syntax

C#
public static byte[] ToByteArray(
	string hexString
)
Visual Basic
Public Shared Function ToByteArray ( _
	hexString As String _
) As Byte()
Visual C++
public:
static array<unsigned char>^ ToByteArray(
	String^ hexString
)

Parameters

hexString
Type: System..::..String

[Missing <param name="hexString"/> documentation for "M:Lidgren.Network.NetUtility.ToByteArray(System.String)"]

Return Value

[Missing <returns> documentation for "M:Lidgren.Network.NetUtility.ToByteArray(System.String)"]

See Also