mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
General code refactor.
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user