mirror of
https://github.com/Barubary/dsdecmp.git
synced 2024-11-18 00:29:23 +01:00
d64137221a
To keep the base program mobile, all native NDS formats do not require plugins. The 8-bit Huffman format cannot be used to compress at the moment; thanks to CUE a bug has been found where the offset-field of a node overflows, corrupting the compressed file.
23 lines
733 B
C#
23 lines
733 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.IO;
|
|
|
|
namespace DSDecmp
|
|
{
|
|
/// <summary>
|
|
/// An exception thrown by the compression or decompression function, indicating that the
|
|
/// given input length was too large for the given input stream.
|
|
/// </summary>
|
|
public class StreamTooShortException : EndOfStreamException
|
|
{
|
|
/// <summary>
|
|
/// Creates a new exception that indicates that the stream was shorter than the given input length.
|
|
/// </summary>
|
|
public StreamTooShortException()
|
|
: base("The end of the stream was reached "
|
|
+ "before the given amout of data was read.")
|
|
{ }
|
|
}
|
|
}
|