io/OutputStream: use std::span

This commit is contained in:
Max Kellermann
2023-05-15 11:00:21 +02:00
parent e72d27566c
commit 8ba68fdb47
12 changed files with 40 additions and 42 deletions

View File

@@ -18,6 +18,6 @@ EncoderToOutputStream(OutputStream &os, Encoder &encoder)
/* write everything to the stream */
os.Write(r.data(), r.size());
os.Write(r);
}
}