Buffer.put

Append an item to the end of the buffer.

If it would be put beyond the end of the buffer, it will assert.

  1. void put(T more)
  2. void put(T more)
    struct Buffer(T, Flag!"dynamic" dynamic = No.dynamic, size_t originalSize = 128)
    pure nothrow pure @safe nothrow @nogc
    static if(!(dynamic))
    void
    put
    ()

Parameters

more T

Item to add.