mirror of
https://github.com/SabreTools/SabreTools.IO.git
synced 2026-04-30 10:50:09 +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.
25 lines
1.0 KiB
C#
25 lines
1.0 KiB
C#
namespace SabreTools.IO.Compression.LZX
|
|
{
|
|
/// <summary>
|
|
/// An LZXD block represents a sequence of compressed data that is encoded with the same set of
|
|
/// Huffman trees, or a sequence of uncompressed data. There can be one or more LZXD blocks in a
|
|
/// compressed stream, each with its own set of Huffman trees. Blocks do not have to start or end on a
|
|
/// chunk boundary; blocks can span multiple chunks, or a single chunk can contain multiple blocks. The
|
|
/// number of chunks is related to the size of the data being compressed, while the number of blocks is
|
|
/// related to how well the data is compressed.
|
|
/// </summary>
|
|
/// <see href="https://interoperability.blob.core.windows.net/files/MS-PATCH/%5bMS-PATCH%5d.pdf"/>
|
|
internal class Block
|
|
{
|
|
/// <summary>
|
|
/// Block header
|
|
/// </summary>
|
|
public BlockHeader? Header { get; set; }
|
|
|
|
/// <summary>
|
|
/// Block data
|
|
/// </summary>
|
|
public BlockData? BlockData { get; set; }
|
|
}
|
|
}
|