RefBuffer.put

Writes the argument to buffer and stores the reference of writed content if the argument size is smaller than threshold, otherwise stores the reference of argument directly.

  1. void put(ubyte value)
    struct RefBuffer
    @safe
    void
    put
    (
    in ubyte value
    )
  2. void put(ubyte[] value)

Parameters

value ubyte

the content to write.

Meta