pub fn with_capacity(capacity: usize, inner: W) -> Self {
        Self { buf_writer: BufWriter::with_capacity(capacity, inner) }
    }
Creates a new `LineWriter` with the specified buffer capacity.
futures-util/src/io/line_writer.rs