could this be revised to cstruct 1.0.1?  There was an unfortunate bug in 1.0.0's `Cstruct.shift` that @djs55 fixed.