fn sliceCast(self: *Self, comptime NewInt: type) PackedIntSlice(NewInt)

Create a PackedIntSlice of the array using NewInt as the integer type. NewInt‘s bit width must fit evenly within the array’s Int’s total bits.

Parameters

self: *Self,
NewInt: type,