IStringMarshalerUnmarshal(IStringType, ReadOnlySpanByte, String) Method

Unmarshals the specified string type.


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

Syntax

C#

int Unmarshal(
    IStringType stringType,
    ReadOnlySpan<byte> source,
    out string value
)

Parameters

stringType  IStringType

Type of the string.

source  ReadOnlySpanByte

The source memory/span.

value  String

The unmarshaled string value.

Return Value

Int32
The number of unmarshalled bytes.

Reference

IStringMarshaler Interface Unmarshal Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026