Buffer.put

Append an item to the end of the buffer.

If it would be put beyond the end of the buffer, it will be resized to fit.

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

Parameters

more T

Item to add.

Meta