Expand description
Decoding functions for the wirings and other constants Serialization and deserialization of the parameters of the iriscode circuit.
Functionsยง
- decode_
i32_ array - Given a byte array representing a 1d i32 array, then serialized as bytes, return the i32 array.
- decode_
i64_ array - Given a byte array representing a 1d i64 array, then serialized as bytes, return the i64 array.
- decode_
wirings - Given a byte array representing the wirings from the image (2d) to the LH matrix multiplicand (2d), first a flattened u16 array, then serialized as bytes, return the wirings as a Vec of tuples of 4 u16s.