Table of Contents

Method ToLazyEncodedString

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

ToLazyEncodedString()

Gets the string representation of this data layout as a LazyEncodedString

LazyEncodedString ToLazyEncodedString()

Returns

LazyEncodedString

Representation of the data layout

Remarks

The returned LazyEncodedString retains a copy of the native code form of the string. This value is ONLY marshaled to a managed string when needed (and only once, it is cached). This behavior allows for lower overhead re-use of this string in additional APIs as NO marshalling needs to occur. This does have the overhead of making a copy of the strings contents as the lifetime of the underlying native string is generally unknown and thus not reliable.