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.
21 lines
687 B
C#
21 lines
687 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace DSDecmp
|
|
{
|
|
/// <summary>
|
|
/// An exception indicating that the file cannot be compressed, because the decompressed size
|
|
/// cannot be represented in the current compression format.
|
|
/// </summary>
|
|
public class InputTooLargeException : Exception
|
|
{
|
|
/// <summary>
|
|
/// Creates a new exception that indicates that the input is too big to be compressed.
|
|
/// </summary>
|
|
public InputTooLargeException()
|
|
: base("The compression ratio is not high enough to fit the input "
|
|
+ "in a single compressed file.") { }
|
|
}
|
|
}
|