5.56. kink/io/BUFFER_OUTPUT¶
5.56.1. BUFFER_OUTPUT.new(Wrapped ...[Buf_size])¶
`new` returns a wrapper `output` which does userspace buffering.
Bytes written to the result output will be eventually written to `Wrapped` after buffering.
`Buf_size` is used as the preferred buffer size. The actual buffer size will not exceed `Buf_size`. If not specified, a default size will be used.
Preconditions
• `Wrapped` must be an `output` val
• `Buf_size` must be an int num >=1