IAnyTypeMarshaler Methods

The IAnyTypeMarshaler type exposes the following members.

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, SpanByte)

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

IAnyTypeMarshaler Methods 6:

Marshal(Object, Int32, Encoding, SpanByte)

Marshals the specified value to the specified destination.

IAnyTypeMarshaler Methods 7:

MarshalSize

Determines the MarshalSize of the given type
(Inherited from ITypeMarshaler)

IAnyTypeMarshaler Methods 8:

MarshalValueSize(Object, Encoding)

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

IAnyTypeMarshaler Methods 9:

MarshalValueSize(Object, Int32, Encoding)

Gets the byte size of the value when marshalled.

IAnyTypeMarshaler Methods 10:

ToByteArray

Converts the value to byte array.

IAnyTypeMarshaler Methods 11:

Unmarshal(AnyTypeSpecifier, ReadOnlySpanByte, Object)

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

IAnyTypeMarshaler Methods 12:

Unmarshal(Type, ReadOnlySpanByte, Encoding, Object)

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

IAnyTypeMarshaler Methods 13:

Unmarshal(Type, Int32, ReadOnlySpanByte, Encoding, Object)

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

IAnyTypeMarshaler Methods 14:

UnmarshalT(ReadOnlySpanByte, Encoding, T)

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

Reference

IAnyTypeMarshaler Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026