BufferedFiberSelectWriter.buffer_size

Sets the buffer size to s. If there are currently more than s bytes of data in the buffer, flush() is called before setting the size.

  1. size_t buffer_size()
  2. size_t buffer_size(size_t s)
    class BufferedFiberSelectWriter
    size_t
    buffer_size
    (
    size_t s
    )
    out (n) { assert (n == s); }

Parameters

s size_t

new buffer size

Return Value

Type: size_t

new buffer size

In: The new buffer size must not be 0.

Meta