fn sliceCastEndian(self: *Self, comptime NewInt: type, comptime new_endian: Endian) PackedIntSliceEndian(NewInt, new_endian)

Create a PackedIntSliceEndian of the array using NewInt as the integer type and new_endian as the new endianness. NewInt‘s bit width must fit evenly within the array’s Int’s total bits.

Parameters

self: *Self,
NewInt: type,
new_endian: Endian,