From the README:
Overview
conduit-z provides a flexible Object
type that can store and stream data efficiently, automatically switching between in-memory and file system storage based on size constraints. It's designed for scenarios where you need to handle data of varying sizes without knowing the final size upfront.
Features
- Automatic Storage Management: Starts with in-memory storage and automatically falls back to temporary files when size limits are exceeded
- Stream Interface: Provides both reader and writer interfaces compatible with Zig's standard I/O
- MD5 Hashing: Built-in MD5 hash computation during read/write operations
- Memory Efficient: Configurable memory limits and dynamic growth