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: 15.0.2.11458
Syntaxpublic BufferDataConverterContext(
AddressArea addressArea,
Endian endian,
BinaryTextEncoding textEncoding,
ulong boolEncoding,
string contextDescription,
MemoryAddress? address = null
)
Parameters
- addressArea
- Type: Demo3D.PLC.CommsAddressArea
The area of memory being addressed by the buffer. - endian
- Type: Demo3D.IOEndian
The endianess of the data. - textEncoding
- Type: Demo3D.IOBinaryTextEncoding
The string encoding. - boolEncoding
- Type: SystemUInt64
The bit pattern of a boolean. - contextDescription
- Type: SystemString
A user printable description of this context. - address (Optional)
- Type: Demo3D.PLC.CommsMemoryAddress
Optionally the address of the tag in PLC memory (or null).
See Also