Click or drag to resize

BufferDataConverterContext Class

Used by BufferDataConverter, this class provides the context of a conversion.
Inheritance Hierarchy
SystemObject
  Demo3D.PLC.CommsBufferDataConverterContext
    Demo3D.PLC.CommsBufferDataConverterContextProvider

Namespace:  Demo3D.PLC.Comms
Assembly:  PLC (in PLC.dll) Version: 14.0.0.10531
Syntax
C#
public class BufferDataConverterContext

The BufferDataConverterContext type exposes the following members.

Constructors
  NameDescription
Public methodBufferDataConverterContext
Constructs a context for marshalling/unmarshalling data to/from an array of bytes.
Top
Properties
  NameDescription
Public propertyAddress
Optionally, the address of the tag in PLC memory (or null). AddressArea provides the specific subrange within the address.
Public propertyAddressArea
The area of memory being addressed by this buffer. Specifically, this is used to marshal booleans into the correct bit in the buffer. Supercedes the area of Address (normally a subrange of the address).
Public propertyEndian
The endianess of the data. This is used to marshal data types larger than one byte.
Public propertyString
A string representation of this context.
Public propertyTextEncoding
The string encoding. This is used to marshal strings.
Top
Methods
  NameDescription
Public methodToString
Returns a string representation of this context.
(Overrides ObjectToString.)
Top
See Also