1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Core archive struct with generic memory-map backing.
use crateCdEntry;
use crate::;
/// A bale archive with generic memory-map backing.
///
/// This struct provides access to archive contents through memory-mapped I/O.
/// The type parameter `M` determines whether the archive is read-only
/// ([`MappedArchive`]) or read-write ([`MappedArchiveMut`]).
///
/// # Example
///
/// ```ignore
/// use bale::{ArchiveReader, ArchiveRead};
///
/// let reader = ArchiveReader::open("archive.bale")?;
/// for (header, path) in reader.iter_entries() {
/// let data = reader.read_data(header)?;
/// // process data...
/// }
/// ```
/// Read-only archive type alias.
pub type ArchiveReader = ;
/// Read-write archive type alias.
pub type ArchiveWriter = ;