General code cleanup and style refactor.

This commit is contained in:
2022-11-15 15:58:41 +00:00
parent eaea8b3332
commit cfe81b8905
12 changed files with 171 additions and 173 deletions

View File

@@ -30,10 +30,10 @@
// Copyright © 2011-2022 Natalia Portillo
// ****************************************************************************/
namespace Aaru.Helpers;
using System.IO;
namespace Aaru.Helpers;
public static class Extensions
{
/// <summary>
@@ -58,7 +58,7 @@ public static class Extensions
/// </returns>
public static int EnsureRead(this Stream s, byte[] buffer, int offset, int count)
{
var pos = 0;
int pos = 0;
int read;
do