Class MemoryBuffer
LLVM MemoryBuffer
Inheritance
MemoryBuffer
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Ubiquity.NET.Llvm
Assembly: Ubiquity.NET.Llvm.dll
Syntax
public sealed class MemoryBuffer
Constructors
MemoryBuffer(Byte[], String) | Initializes a new instance of the MemoryBuffer class from a byte array |
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 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 ReadOnlySpan<T> |