ConcatBuffer.add

Appends a new piece of data to the end of the buffer.

  1. T[] add(const(T)[] data)
    class ConcatBuffer(T)
    T[]
    add
    (
    const(T)[] data
    )
  2. T[] add(size_t length)

Parameters

data const(T)[]

data to append to buffer

Return Value

Type: T[]

in-place slice to the location in the buffer where the new item was appended

Meta