IGenericTypeMarshaler Methods

The IGenericTypeMarshaler type exposes the following members.

Methods

 

Name

Description

IGenericTypeMarshaler Methods 1:

CanMarshal

Determines whether ADS can marshal the specified managed data type. (Inherited from ITypeMarshaler.)

IGenericTypeMarshaler Methods 2:

CanMarshalValue

Determines whether ADS can marshal the specified value (Inherited from ITypeMarshaler.)

IGenericTypeMarshaler Methods 3:

Marshal

Marshals the specified value to the specified destination memory / span. (Inherited from ITypeMarshaler.)

IGenericTypeMarshaler Methods 4:

MarshalValueSize

Gets the byte size of the value when marshalled. (Inherited from ITypeMarshaler.)

IGenericTypeMarshaler Methods 5:

Unmarshal(Type, ReadOnlySpan.Byte., Encoding, Object.)

Unmarshals the specified managed type from memory / span (Inherited from ITypeMarshaler.)

IGenericTypeMarshaler Methods 6:

Unmarshal.T.(ReadOnlySpan.Byte., Encoding, T.)

Unmarshals the source data to an managed value of the specified type.

Reference

IGenericTypeMarshaler Interface

TwinCAT.TypeSystem Namespace