Skip to content

Reference

OpcEncodingOptions Members

Provides the setup used to control encoding results.

Reference

OpcEncodingOptions Members ​

Type
OpcEncodingOptions
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Constructors ​

OpcEncodingOptions ​

Initializes a new instance of the OpcEncodingOptions class.

csharp
public OpcEncodingOptions()
vbnet
Public Sub New()

Properties ​

MaxByteStringLineLength ​

Gets or sets a value used to limit the maximum number of characters used in a line to encode a byte string as a base64 encoded string.

csharp
public int? MaxByteStringLineLength { get; set; }
vbnet
Public Property MaxByteStringLineLength As Integer?

Property value

Nullable<Int32>

The maximum number of characters used in a line or a null reference (Nothing in Visual Basic) if a byte string is to be encoded into a single line.

Remarks

Using a maximum number of charachter results into a multi-line encoded byte string.

OmitDefaultValues ​

Gets or sets a value indicating whether values used by a specific type as its initial value (= default value) shall not encoded (= omitted).

csharp
public bool OmitDefaultValues { get; set; }
vbnet
Public Property OmitDefaultValues As Boolean

Property value

Boolean

The value true if default values are to be omitted; otherwise the value false. The default value is false.

Remarks

The default value of integer values is zero, while the default value of a Guid is Empty. For reference types the default value might be a type specific default value and a null reference (Nothing in Visual Basic).