pub fn new(inner: W) -> Self {
        Self::with_capacity(DEFAULT_BUF_SIZE, inner)
    }
Creates a new `BufWriter` with a default buffer capacity. The default is currently 8 KB,
but may change in the future.
futures-util/src/io/buf_writer.rs