Expand description
Base reader utilities for Altium CFB files.
Provides common reading operations for compound file binary format.
Traits§
- ReadExt
- Extension trait for convenient reading operations.
Functions§
- decode_
windows_ 1252 - Decodes a byte slice from Windows-1252 encoding to a String.
- decompress_
zlib - Decompresses zlib-compressed data.
- read_
block - Reads a size-prefixed block of data.
- read_
block_ with - Reads a size-prefixed block and interprets it using a callback.
- read_
c_ string - Reads a C-style null-terminated string of known buffer size.
- read_
compressed_ storage - Reads compressed storage: (id, data) pair with zlib compression.
- read_
coord_ point - Reads a CoordPoint (two i32 values for x, y).
- read_
font_ name - Reads a fixed-length UTF-16 font name (32 bytes, null-terminated UTF-16).
- read_
header - Reads the header stream (u32 data size).
- read_
parameters - Reads parameters from a sized block.
- read_
parameters_ block - Reads parameters from a block (i32 size prefix).
- read_
pascal_ short_ string - Reads a Pascal short string (byte size prefix, no null terminator).
- read_
pascal_ string - Reads a Pascal-style string (i32 size prefix, null-terminated content).
- read_
raw_ string - Reads a raw string of known length (no length prefix, no null terminator).
- read_
string_ block - Reads a string block (i32 size prefix, then byte size prefix for content).