mirror of
https://github.com/SabreTools/SabreTools.IO.git
synced 2026-05-07 04:54:04 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.IO.Meta` builds the normal Nuget package that is used by all other projects and includes all namespaces. `SabreTools.IO` builds to `SabreTools.IO.Common` to avoid overwriting issues on publish.
35 lines
832 B
C#
35 lines
832 B
C#
namespace SabreTools.IO.Compression.Deflate
|
|
{
|
|
/// <summary>
|
|
/// Represents the status returned from extracting
|
|
/// </summary>
|
|
public enum ExtractionStatus
|
|
{
|
|
/// <summary>
|
|
/// Extraction wasn't performed because the inputs were invalid
|
|
/// </summary>
|
|
INVALID,
|
|
|
|
/// <summary>
|
|
/// No issues with the extraction
|
|
/// </summary>
|
|
GOOD,
|
|
|
|
/// <summary>
|
|
/// File extracted but was the wrong size
|
|
/// </summary>
|
|
/// <remarks>Rewinds the stream and deletes the bad file</remarks>
|
|
WRONG_SIZE,
|
|
|
|
/// <summary>
|
|
/// File extracted but had the wrong CRC-32 value
|
|
/// </summary>
|
|
BAD_CRC,
|
|
|
|
/// <summary>
|
|
/// Extraction failed entirely
|
|
/// </summary>
|
|
FAIL,
|
|
}
|
|
}
|