IGenericTypeMarshaler.Unmarshal<T>(ReadOnlySpan<Byte>, Encoding, T) 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<T>(
ReadOnlySpan<byte> source,
Encoding encoding,
out T value
)

Parameters

source  ReadOnlySpan<Byte>

The source data.

encoding  Encoding

The encoding.

value  T

The value.

Type Parameters

T

The values type.

Return Value

Int32
Number of unmarshalled bytes.

See Also

Reference

IGenericTypeMarshaler Interface Unmarshal Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026