Closed Henry-E closed 2 years ago
The correct amount of bytes is
But if you pass the wrong number of bytes it gives an incomprehensible error. Program log: panicked at 'from_bytes_mut>SizeMismatch', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/bytemuck-1.10.0/src/internal.rs:30:3
Program log: panicked at 'from_bytes_mut>SizeMismatch', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/bytemuck-1.10.0/src/internal.rs:30:3
Solved by PR #86.
The correct amount of bytes is
But if you pass the wrong number of bytes it gives an incomprehensible error.
Program log: panicked at 'from_bytes_mut>SizeMismatch', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/bytemuck-1.10.0/src/internal.rs:30:3