mirror of
https://github.com/Barubary/dsdecmp.git
synced 2024-11-14 23:05:13 +01:00
20 lines
577 B
C#
20 lines
577 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
|
|||
|
{
|
|||
|
public StreamTooShortException()
|
|||
|
: base("The end of the stream was reached "
|
|||
|
+ "before the given amout of data was read.")
|
|||
|
{ }
|
|||
|
}
|
|||
|
}
|