Click or drag to resize

BufferDataConverterContext Constructor

Constructs a context for marshalling/unmarshalling data to/from an array of bytes.

Namespace: Demo3D.PLC.Comms
Assembly: PLC (in PLC.dll) Version: 19.00.00
Syntax
C#
public BufferDataConverterContext(
	AddressArea addressArea,
	Endian endian,
	BinaryTextEncoding textEncoding,
	ulong boolEncoding,
	NullEncodingType nullEncoding,
	string contextDescription,
	MemoryAddress? address = null
)

Parameters

addressArea  AddressArea
The area of memory being addressed by the buffer.
endian  Endian
The endianess of the data.
textEncoding  BinaryTextEncoding
The string encoding.
boolEncoding  UInt64
The bit pattern of a boolean.
nullEncoding  NullEncodingType
How to encode nulls.
contextDescription  String
A user printable description of this context.
address  MemoryAddress  (Optional)
Optionally the address of the tag in PLC memory (or null).
See Also