Class ArrayPoolMemory
Represents memory collected from an array pool Once disposed, the array is returned to the pool
Inheritance
System.Object
ArrayPoolMemory
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FellowOakDicom.Memory
Assembly: fo-dicom.core.dll
Syntax
public class ArrayPoolMemory : IMemory, IDisposable
Constructors
ArrayPoolMemory(MemoryOwner<Byte>)
Declaration
public ArrayPoolMemory(MemoryOwner<byte> memoryOwner)
Parameters
Type | Name | Description |
---|---|---|
CommunityToolkit.HighPerformance.Buffers.MemoryOwner<System.Byte> | memoryOwner |
Properties
Bytes
Declaration
public byte[] Bytes { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Length
Declaration
public int Length { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Memory
Declaration
public Memory<byte> Memory { get; }
Property Value
Type | Description |
---|---|
System.Memory<System.Byte> |
Span
Declaration
public Span<byte> Span { get; }
Property Value
Type | Description |
---|---|
System.Span<System.Byte> |
Methods
Dispose()
Declaration
public void Dispose()
Finalize()
Declaration
protected void Finalize()
Implements
System.IDisposable