Skip to content

strata.io

Zero-copy, endian-safe binary serialization engine (dump, load, dumps, loads) for fitted estimators, transformers, trees, and ensembles.


Struct Description
BufferWriter Byte buffer writer with endian-safe scalar and matrix serialization.
BufferReader Byte buffer reader with bounds checking and scalar/matrix deserialization.
Trait Description
Serializable Trait for models and transformers supporting binary serialization.
Function Description
write_header Writes protocol magic header, version tag, and model type identifier.
check_header Validates protocol magic header, version tag, and model type identifier.
dump Serializes a fitted estimator or transformer to disk.
dumps Serializes a fitted estimator or transformer into an in-memory byte buffer.
load Deserializes a fitted estimator or transformer from disk.
loads Deserializes a fitted estimator or transformer from an in-memory byte buffer.