You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(byte_array): add ByteSpan::into and bytes31_slice
When slicing bytespans, the first data word can have a start-offset, this has to be split-off before
casting into `ByteArray`, which has no concept of start-offset of a bytes31 word.
Note: when slicing bytespans that are included in `remainder_word`, the upcoming `slice`
logic will remove the start-offset while slicing (for simplicity and consistency), hence we only
need to split off the start-offset if the first word is in the data span.
0 commit comments