IAnyTypeMarshalerUnmarshal(AnyTypeSpecifier, ReadOnlySpanByte, Object) Method

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


Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

int Unmarshal(
    AnyTypeSpecifier spec,
    ReadOnlySpan<byte> source,
    out Object value
)

Parameters

spec  AnyTypeSpecifier

The any type specifier.

source  ReadOnlySpanByte

The source data.

value  Object

The value.

Return Value

Int32
Number of unmarshaled bytes.

Reference

IAnyTypeMarshaler Interface Unmarshal Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026