Table of Contents

Method ToLazyEncodedString

Namespace
Ubiquity.NET.Llvm.Metadata
Assembly
Ubiquity.NET.Llvm.dll

ToLazyEncodedString()

Gets the string from the metadata node without the overhead of any encoding

public LazyEncodedString ToLazyEncodedString()

Returns

LazyEncodedString

String from the metadata

Remarks

This captures/copies the raw bytes of the native string but does NOT perform any additional transformation/encoding to a managed string. This allows more efficient use of the string with other native APIs. If the managed form of the string is needed it is obtainable via the ToString() method on the returned value or by calling ToString() instead.