Skip to main content

Module encode

Module encode 

Source

Functionsยง

decode_slice
Decode a SparseVector from its canonical binary form, re-validating all invariants (so a corrupted or hand-built buffer cannot smuggle in unsorted indices or NaN weights).
encode
Canonical binary form of a SparseVector.