encoder/ToOutputStream: remove unnecessary cast
This commit is contained in:
parent
1090cc964a
commit
2075a9a999
|
@ -12,7 +12,7 @@ EncoderToOutputStream(OutputStream &os, Encoder &encoder)
|
|||
/* read from the encoder */
|
||||
|
||||
std::byte buffer[32768];
|
||||
const auto r = encoder.Read(std::span{buffer});
|
||||
const auto r = encoder.Read(buffer);
|
||||
if (r.empty())
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue