WriteBuffer.this

  1. this(size_t size, Allocator allocator)
    struct WriteBuffer(T = ubyte)
    @trusted
    this
  2. this()

Parameters

size size_t

Initial buffer size and the size by which the buffer will grow.

allocator Allocator

Allocator.

Precondition: size > 0 && allocator !is null

Meta