dekarrin / rezi

REZI - Rarefied Encoding (Compressible) for Interchange
MIT License
0 stars 0 forks source link

Add support for complex types #43

Closed dekarrin closed 10 months ago

dekarrin commented 1 year ago

Add support for complex64 and complex128. This will likely require #42 to be completed first, as it will likely be encoded as the real part (float) followed by the imaginary part (also a float).

In order to transparently work with Reader routines and length detection, it should be encoded as two full sequential floats, preceeded by a header that includes only a byte count which gives total, as total encoded bytes can be as large as 18; too large to fit into the LLLL field (ugh).

Tests which must be added: