Revert "removed unsafe code in favor of explicit assert"
authorChris Morgan <me@chrismorgan.info>
committerChris Morgan <me@chrismorgan.info>
commit8abad057b08ea7f67d0f5aef40283b03146e2443
treee599d6241cfe17a90f001498c6ca88eeac86aa78
parent6dab74b72178bb02bd26a8bcaf3cf588997d7800
Revert "removed unsafe code in favor of explicit assert"

This reverts commit 479d756c992af132c6ba45248c65dc230c5986cf.

There’s nothing wrong with this patch, but I had never pulled this
commit to my local repository and had completely forgotten about it, and
today removed the unsafe code in a *different* direction that I like
better (`bytes.try_into().map(|bytes| u64::from_ne_bytes(bytes))`), so
reverting it so I can cleanly rebase is just easier for me!
src/raw.rs