IAnyTypeMarshaler.Unmarshal(Type, Int32[], ReadOnlySpan<Byte>, Encoding, 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(
Type anyType,
int[] args,
ReadOnlySpan<byte> source,
Encoding? encoding,
out Object value
)

Parameters

anyType  Type

The managed type.

args  Int32[]

The arguments.

source  ReadOnlySpan<Byte>

The source data.

encoding  Encoding

The encoding.

value  Object

The value.

Return Value

Int32
Number of unmarshaled bytes.

See Also

Reference

IAnyTypeMarshaler Interface Unmarshal Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026