- `fill()` appends 0's to the end of the array, instead of prepending. - `octet()` is just shorthand for `fill(8)` so it suffers the same issue. - `fromHex('F0')` returns `[0, 0, 0, 0, 1, 1, 1, 1]`, instead of `[1, 1, 1, 1, 0, 0, 0, 0]`.
fill()appends 0's to the end of the array, instead of prepending.octet()is just shorthand forfill(8)so it suffers the same issue.fromHex('F0')returns[0, 0, 0, 0, 1, 1, 1, 1], instead of[1, 1, 1, 1, 0, 0, 0, 0].