ITypeMarshaler.Unmarshal Method

Unmarshals the specified managed type from memory / span


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

Syntax

C#

int Unmarshal(
Type type,
ReadOnlySpan<byte> source,
Encoding encoding,
out Object value
)

Parameters

type  Type

The type.

source  ReadOnlySpan<Byte>

The source memory/span

encoding  Encoding

The encoding.

value  Object

The created value.

Return Value

Int32
Number of unmarshaled bytes.

See Also

Reference

ITypeMarshaler Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026