Expand description
Buffer-based I/O handlers for parsing SAS files from in-memory byte slices.
Provides ReadStatBufferCtx and a set of extern "C" callback functions that
implement the ReadStat I/O interface over a &[u8] buffer instead of a file.
This enables parsing .sas7bdat data without filesystem access β useful for
WASM targets, cloud storage, HTTP uploads, and testing.
StructsΒ§
- Read
Stat Buffer Ctx - In-memory buffer context for
ReadStatI/O callbacks.
FunctionsΒ§
- buffer_
close π β - No-op close handler β nothing to close for an in-memory buffer.
- buffer_
open π β - No-op open handler β the buffer is already βopenβ.
- buffer_
read π β - Read handler that copies bytes from the buffer into the callerβs buffer.
- buffer_
seek π β - Seek handler that repositions the read cursor within the buffer.
- buffer_
update π β - Update/progress handler for buffer I/O.