This passes the current tests and eliminates the miri warning about unaligned references that currently triggers here, but I'm not certain if it's fully robust. The alignment code works by splitting away any unaligned portion of the input buffer, and so I'm not sure if the byte-tracking code in Stream and other places needs to be updated to reflect that.
Attempts to solve #155
This passes the current tests and eliminates the
miri
warning about unaligned references that currently triggers here, but I'm not certain if it's fully robust. The alignment code works by splitting away any unaligned portion of the input buffer, and so I'm not sure if the byte-tracking code inStream
and other places needs to be updated to reflect that.