IAnyTypeMarshaler Methods

Methods

 

Name

Description

IAnyTypeMarshaler Methods 1:

CanMarshal(Type)

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

IAnyTypeMarshaler Methods 2:

CanMarshal(Type, .Int32., Encoding)

Determines whether ADS can marshal the specified managed data type.

IAnyTypeMarshaler Methods 3:

CanMarshalValue(Object)

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

IAnyTypeMarshaler Methods 4:

CanMarshalValue(Object, .Int32., Encoding)

Determines whether ADS can marshal the specified managed data type.

IAnyTypeMarshaler Methods 5:

Marshal(Object, Encoding, Span.Byte.)

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

IAnyTypeMarshaler Methods 6:

Marshal(Object, .Int32., Encoding, Span.Byte.)

Marshals the specified value to the specified destination.

IAnyTypeMarshaler Methods 7:

MarshalValueSize(Object, Encoding)

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

IAnyTypeMarshaler Methods 8:

MarshalValueSize(Object, .Int32., Encoding)

Gets the byte size of the value when marshalled.

IAnyTypeMarshaler Methods 9:

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

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

IAnyTypeMarshaler Methods 10:

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

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

IAnyTypeMarshaler Methods 11:

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

Unmarshals the source data to an managed value of the specified type. (Inherited from IGenericTypeMarshaler.)

Reference

IAnyTypeMarshaler Interface

TwinCAT.TypeSystem Namespace