6.53. kink/io/BUFFER_OUTPUT

6.53.1. BUFFER_OUTPUT.new(Wrapped_output ...[Max_buf_size])

`new` returns an `output` which does userspace buffering.

Bytes written to the result output will be eventually written to `Wrapped_output` after buffering.

`Max_buf_size` is used as the preferred buffer size. The actual buffer size will not exceed `Max_buf_size`. If not specified, a default size will be used.

Preconditions

`Wrapped_output` must be an `output` val.

`Max_buf_size` must be an int num >=1.