Click or drag to resize

BufferDataConverter Methods

The BufferDataConverter type exposes the following members.

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