CosString(ReadOnlySpan, Boolean) Constructor

Definition

Assembly Broadside.dll

Initializes a new instance of the CosString class.

public CosString(ReadOnlySpan<byte> bytes, bool hexadecimal = false)

Parameters

bytes
ReadOnlySpan<Byte>

The string's bytes, copied.

hexadecimal
Boolean

true to write the string in hexadecimal form, false for literal form.