IStringMarshaler.Marshal Method (String, Span.Byte.)

Marshals the specified string value.

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

int Marshal(
    string value,
    Span<byte> destination
)

Parameters

value

Type: System.String
The value.

destination

Type: System.Span.Byte.
The destination span/memory.

Return Value

Type: Int32
Number of marshalled bytes.

Reference

IStringMarshaler Interface

Marshal Overload

TwinCAT.TypeSystem Namespace