fn sliceCast(self: Self, comptime NewInt: type) PackedIntSliceEndian(NewInt, endian)
[src]
Create a PackedIntSlice of the sclice using NewInt
as the integer type. NewInt
‘s bit width must fit evenly within the slice’s Int
’s total bits.
fn sliceCast(self: Self, comptime NewInt: type) PackedIntSliceEndian(NewInt, endian)
Create a PackedIntSlice of the sclice using NewInt
as the integer type. NewInt
‘s bit width must fit evenly within the slice’s Int
’s total bits.