Since `Stream.ReadExactly` is not present in `net6` we have implemented our own wrapper for `Stream.Read` that reads requested number of bytes at: https://github.com/scylladb/csharp-driver/pull/153 When we drop `net6` we need to switch to `Stream.ReadExactly`.