IStringMarshaler.MarshalSize(Encoding, Int32) Method

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


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

Syntax

C#

int MarshalSize(
Encoding encoding,
int strLen
)

Parameters

encoding  Encoding

The encoding.

strLen  Int32

Length of the string.

Return Value

Int32
Marshalling size of the string.

See Also

Reference

IStringMarshaler Interface MarshalSize Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026