Click or drag to resize

BufferDataConverter Class

A DataConverter for converting .Net objects to/from an array of bytes.
Inheritance Hierarchy

Namespace:  Demo3D.PLC.Comms
Assembly:  PLC (in PLC.dll) Version: 15.0.2.11458
Syntax
C#
public class BufferDataConverter : DataConverter

The BufferDataConverter type exposes the following members.

Constructors
  NameDescription
Public methodBufferDataConverter
Initializes a new instance of the BufferDataConverter class
Top
Methods
  NameDescription
Public methodCanConvertFrom
Returns whether this converter can convert an object of the given type to an array of bytes, using the specified context.
(Overrides DataConverterCanConvertFrom(IDataContextProvider, DataType, DataType).)
Public methodCanConvertTo
Returns whether this converter can convert an object to the specified type.
(Overrides DataConverterCanConvertTo(IDataContextProvider, DataType, DataType).)
Public methodGetConvertFrom
Returns a function that converts the given object to an array of bytes, using the specified context.
(Overrides DataConverterGetConvertFrom(IDataContextProvider, DataType, DataType).)
Public methodGetConvertTo
Returns a function that converts the given value to the specified type, using the specified context.
(Overrides DataConverterGetConvertTo(IDataContextProvider, DataType, DataType).)
Public methodGetPacketMarshaller
Returns a function that converts the given object to an array of bytes, using the specified context, writing it into the packet provided.
Public methodGetPacketUnmarshaller
Returns a function that unmarshals the given value to the specified type, using the specified context, reading the data from the packet provided.
Top
See Also