public BasicArrayBuffer(T[] array, int length, TestMemoryAllocator allocator) { this.allocator = allocator; DebugGuard.MustBeLessThanOrEqualTo(length, array.Length, nameof(length)); this.Array = array; this.Length = length; }
public ManagedByteBuffer(byte[] array, TestMemoryAllocator allocator) : base(array, allocator) { }
public BasicArrayBuffer(T[] array, TestMemoryAllocator allocator) : this(array, array.Length, allocator) { }