Class MemoryBuffer
LLVM MemoryBuffer
Inheritance
MemoryBuffer
Namespace: Ubiquity.NET.Llvm
Assembly: Ubiquity.NET.Llvm.dll
Syntax
public sealed class MemoryBuffer
Constructors
MemoryBuffer(String) | Initializes a new instance of the MemoryBuffer class from a file |
Properties
Size | Gets the size of the buffer |
Methods
Detach() | Detaches the underlying buffer from automatic management |
Slice(Int32, Int32) | Create a System.ReadOnlySpan<T> for a slice of the buffer |
ToArray() | Gets an array of bytes from the buffer |
Operators
Implicit(MemoryBuffer to ReadOnlySpan<Byte>) | Implicit convert to a System.ReadOnlySpan<T> |