SteamKit2 is a .NET library designed to interoperate with Valve's Steam network. It aims to provide a simple, yet extensible, interface to perform various actions on the network.
The .NET 9 SDK introduces a new analyzer warning CA2022 that shows up when targeting .NET 9.
This fixes warnings about possible partial reads by using a new API from .NET 7, ReadExactly, rather than Read which can perform a partial read and relies on the caller to read in a loop.
The .NET 9 SDK introduces a new analyzer warning CA2022 that shows up when targeting .NET 9.
This fixes warnings about possible partial reads by using a new API from .NET 7,
ReadExactly
, rather thanRead
which can perform a partial read and relies on the caller to read in a loop.