IStringMarshaler Methods

Methods

 

Name

Description

IStringMarshaler Methods 1:

Marshal(String, Span.Byte.)

Marshals the specified string value.

IStringMarshaler Methods 2:

Marshal(IStringType, String, Span.Byte.)

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:

Unmarshal(ReadOnlySpan.Byte., String.)

Unmarshals a string from memory/span.

IStringMarshaler Methods 7:

Unmarshal(IStringType, ReadOnlySpan.Byte., String.)

Unmarshals the specified string type.

IStringMarshaler Methods 8:

Unmarshal(ReadOnlySpan.Byte., Encoding, String.)

Unmarshals a string from memory/span.

Reference

IStringMarshaler Interface

TwinCAT.TypeSystem Namespace