goldsrc_rs/repr/
mod.rs

1use smallstr::SmallString;
2
3pub mod bsp;
4pub mod map;
5pub mod texture;
6pub mod wad;
7
8/// Fixed-size C-style UTF-8 string (max 16 bytes).
9///
10/// Common in Half-Life file headers (e.g. texture names).
11/// Backed by [`SmallString<[u8; 16]>`], so it's stack-allocated and
12/// acts like a normal `&str`.
13pub type CStr16 = SmallString<[u8; 16]>;