using System.Runtime.InteropServices;
namespace BinaryObjectScanner.Models.MoPaQ
{
///
/// Block table contains informations about file sizes and way of their storage within
/// the archive. It also contains the position of file content in the archive. Size
/// of block table entry is (like hash table entry). The block table is also encrypted.
///
///
[StructLayout(LayoutKind.Sequential)]
public sealed class BlockEntry
{
///
/// Offset of the beginning of the file data, relative to the beginning of the archive.
///
public uint FilePosition;
///
/// Compressed file size
///
public uint CompressedSize;
///
/// Size of uncompressed file
///
public uint UncompressedSize;
///
/// Flags for the file.
///
public FileFlags Flags;
}
}