IStringMarshaler Methods

The IStringMarshaler type exposes the following members.

Methods

 

Name

Description

IStringMarshaler Methods 1:

Marshal(String, SpanByte)

Marshals the specified string value.

IStringMarshaler Methods 2:

Marshal(IStringType, String, SpanByte)

Marshals the specified string value.

IStringMarshaler Methods 3:

MarshalSize(IStringType)

Gets the marshal size of the specified string type.

IStringMarshaler Methods 4:

MarshalSize(String)

Gets the marshal size of the string.

IStringMarshaler Methods 5:

MarshalSize(Encoding, Int32)

Gets the marshal size of the string given by its length.

IStringMarshaler Methods 6:

ToByteArray(String)

Converts the value string to a byte array.

IStringMarshaler Methods 7:

ToByteArray(IStringType, String)

Converts the value string to a byte array.

IStringMarshaler Methods 8:

Unmarshal(ReadOnlySpanByte, String)

Unmarshals a string from memory/span.

IStringMarshaler Methods 9:

Unmarshal(IStringType, ReadOnlySpanByte, String)

Unmarshals the specified string type.

IStringMarshaler Methods 10:

Unmarshal(ReadOnlySpanByte, Encoding, String)

Unmarshals a string from memory/span.

Reference

IStringMarshaler Interface TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026