Dev.to#tech
.NET 10 BufferedStream WriteByte: Flush Full Buffers Explicitlytranslating…
Factuality: 64/100USAForem (DEV Community)
BufferedStream.WriteByte had a surprising side effect through .NET 9: the call at its internal capacity boundary also called Flush() on the wrapped stream. The .NET 10 BufferedStream WriteByte behavior removes that implicit flush. Bytes can still move to the underlying stream…