IStringMarshaler Interface
Common interface for marshalling ADS string values.
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version:
7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public interface IStringMarshalerThe IStringMarshaler type exposes the following members.
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Marshals the specified string value. | |
|
|
Marshals the specified string value. | |
|
|
Gets the marshal size of the specified string type. | |
|
|
Gets the marshal size of the string. | |
|
|
Gets the marshal size of the string given by its length. | |
|
|
Converts the value string to a byte array. | |
|
|
Converts the value string to a byte array. | |
|
|
Unmarshals a string from memory/span. | |
|
|
Unmarshals the specified string type. | |
|
|
Unmarshals a string from memory/span. |
- IStringMarshaler.MarshalSize Method (String)
- IStringMarshaler.MarshalSize Method (IStringType)
- IStringMarshaler.MarshalSize Method (Encoding, Int32)
- IStringMarshaler.Marshal Method (String, Span.Byte.)
- IStringMarshaler.Marshal Method (IStringType, String, Span.Byte.)
- IStringMarshaler.Unmarshal Method (ReadOnlySpan.Byte., String.)
- IStringMarshaler.Unmarshal Method (IStringType, ReadOnlySpan.Byte., String.)
- IStringMarshaler.Unmarshal Method (ReadOnlySpan.Byte., Encoding, String.)
- IStringMarshaler.Encoding Property
- IStringMarshaler.StringTerminatorSize Property