IGenericTypeMarshaler.Unmarshal.T. Method (ReadOnlySpan.Byte., Encoding, T.)
Unmarshals the source data to an managed value of the specified type.
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
int Unmarshal<T>(
ReadOnlySpan<byte> source,
Encoding encoding,
out T value
)
Parameters
source |
Type: System.ReadOnlySpan.Byte. |
encoding |
Type: System.Text.Encoding |
value |
Type: T. |
Type Parameters
T |
The values type. |
Return Value
Type: Int32
Number of unmarshalled bytes.