General code refactor.

This commit is contained in:
2021-08-17 21:23:10 +01:00
parent 4fcaeffc85
commit 75edb759e6
513 changed files with 38377 additions and 48553 deletions

View File

@@ -35,9 +35,7 @@ using System.IO;
namespace Aaru.Compression
{
/// <summary>
/// Implements the Apple version of RLE
/// </summary>
/// <summary>Implements the Apple version of RLE</summary>
public class AppleRle
{
const uint DART_CHUNK = 20960;
@@ -48,9 +46,7 @@ namespace Aaru.Compression
byte _repeatedByteA, _repeatedByteB;
bool _repeatMode; // true if we're repeating, false if we're just copying
/// <summary>
/// Initializes a decompressor for the specified stream
/// </summary>
/// <summary>Initializes a decompressor for the specified stream</summary>
/// <param name="stream">Stream containing the compressed data</param>
public AppleRle(Stream stream)
{
@@ -66,9 +62,7 @@ namespace Aaru.Compression
_repeatMode = false;
}
/// <summary>
/// Decompresses a byte
/// </summary>
/// <summary>Decompresses a byte</summary>
/// <returns>Decompressed byte</returns>
public int ProduceByte()
{