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
41
42
43
44
45
46
// Copyright (c) 2025-present, fjall-rs
// This source code is licensed under both the Apache 2.0 and MIT License
// (found in the LICENSE-* files in the repository)
use crateWriteBytesExt;
use crate;
// `Write` is the std trait under `std` (so the concrete `ChecksummedWriter`'s
// `write_all` resolves from `std::io`) and the native trait under `no_std`.
use crateWrite;
use Write;
pub const TOC_MAGIC: & = b"TOC!";
;