Table of Contents

Method ConvertToUnmanaged

Namespace
Ubiquity.NET.InteropHelpers
Assembly
Ubiquity.NET.InteropHelpers.dll

ConvertToUnmanaged(LazyEncodedString?)

Converts a LazyEncodedString to a managed form

public static byte* ConvertToUnmanaged(LazyEncodedString? managed)

Parameters

managed LazyEncodedString

String to convert or retrieve the native form of

Returns

byte*

managed pointer

Remarks

Without state, this version can only convert default null values to a null return. Any other value results in an exception.

Exceptions

NotSupportedException

managed is not null