BufferDataConverter Class |
Namespace: Demo3D.PLC.Comms
public class BufferDataConverter : DataConverter
The BufferDataConverter type exposes the following members.
| Name | Description | |
|---|---|---|
| BufferDataConverter | Initializes a new instance of the BufferDataConverter class |
| Name | Description | |
|---|---|---|
| CanConvertFrom |
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).) | |
| CanConvertTo |
Returns whether this converter can convert an object to the specified type.
(Overrides DataConverterCanConvertTo(IDataContextProvider, DataType, DataType).) | |
| GetConvertFrom |
Returns a function that converts the given object to an array of bytes, using the specified context.
(Overrides DataConverterGetConvertFrom(IDataContextProvider, DataType, DataType).) | |
| GetConvertTo |
Returns a function that converts the given value to the specified type, using the specified context.
(Overrides DataConverterGetConvertTo(IDataContextProvider, DataType, DataType).) | |
| GetPacketMarshaller |
Returns a function that converts the given object to an array of bytes, using the specified context, writing it into the packet provided.
| |
| GetPacketUnmarshaller |
Returns a function that unmarshals the given value to the specified type, using the specified context, reading the data from the packet provided.
|