BufferMarshaller(DataType, Endian, BinaryTextEncoding, UInt64, BufferDataConversionContextNullEncodingType, String) Constructor |
Constructs a marshaller.
Namespace: Demo3D.PLC.CommsAssembly: PLC (in PLC.dll) Version: 19.00.00
Syntaxpublic BufferMarshaller(
DataType dataType,
Endian? endian = null,
BinaryTextEncoding? textEncoding = null,
ulong boolEncoding = 18446744073709551615,
NullEncodingType nullEncoding = NullEncodingType.Error,
string? contextDescription = null
)
Parameters
- dataType DataType
- The type of the class/struct to be marshalled.
- endian Endian (Optional)
- The endianess of the data. (Defaults to little endian.)
- textEncoding BinaryTextEncoding (Optional)
- Text encoding of string data. (Defaults to Default.)
- boolEncoding UInt64 (Optional)
- The bit pattern of a boolean.
- nullEncoding NullEncodingType (Optional)
- How to encode nulls.
- contextDescription String (Optional)
- An optional text description of the marshaller.
See Also