ITypeMarshalerMarshal Method

Marshals the specified value to the specified destination memory / span.


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

Syntax

C#

int Marshal(
    Object value,
    Encoding encoding,
    Span<byte> destination
)

Parameters

value  Object

The value to marshal.

encoding  Encoding

The encoding.

destination  SpanByte

The destination span.

Return Value

Int32
The number of marshalled bytes.

Reference

ITypeMarshaler Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026