Crate numcodecs_reinterpret

Source
Expand description

CI Status MSRV Latest Version Rust Doc Crate Rust Doc Main

Binary reinterpret codec implementation for the numcodecs API.

Structs§

ReinterpretCodec
Codec to reinterpret data between different compatible types.

Enums§

ReinterpretCodecError
Errors that may occur when applying the ReinterpretCodec.

Functions§

reinterpret_array
Reinterpret the data elements of the array using the provided reinterpret closure. The shape of the data is preserved.
reinterpret_array_into
Reinterpret the data elements of the encoded array using the provided reinterpret closure into the decoded array.