casc-rs 0.1.8

A Rust implementation of a Casc Storage Handler for Blizzard's CASC format.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// Represents an entry in the CASC block table.
/// Each entry describes a block of data in the storage.
#[repr(C)]
#[derive(Debug, Clone, Copy)]
pub(crate) struct BlockTableEntry {
    /// The encoded (compressed/encrypted) size of the block.
    pub(crate) encoded_size: i32,
    /// The decoded (original) content size of the block.
    pub(crate) content_size: i32,
    /// Lower 64 bits of the block's hash.
    pub(crate) hash_lower: u64,
    /// Upper 64 bits of the block's hash.
    pub(crate) hash_upper: u64,
}