Fixed some comments
parent
e2fd37e75b
commit
3e3bdd577c
|
@ -173,7 +173,7 @@ pub fn PackedIntIo(comptime Int: type) type
|
|||
|
||||
///Creates a bit-packed array of int_count integers of type Int. Bits
|
||||
/// are packed using native endianess and without storing any meta
|
||||
/// data. PackedArray(i3, 8) will occupy exactly 3 bytes of memory.
|
||||
/// data. PackedIntArray(i3, 8) will occupy exactly 3 bytes of memory.
|
||||
pub fn PackedIntArray(comptime Int: type, comptime int_count: usize) type
|
||||
{
|
||||
const int_bits = comptime std.meta.bitCount(Int);
|
||||
|
@ -234,7 +234,9 @@ pub fn PackedIntArray(comptime Int: type, comptime int_count: usize) type
|
|||
};
|
||||
}
|
||||
|
||||
//@TODO: Add Slice Casting
|
||||
///Uses a slice as a bit-packed block of int_count integers of type Int.
|
||||
/// Bits are packed using native endianess and without storing any meta
|
||||
/// data.
|
||||
pub fn PackedIntSlice(comptime Int: type) type
|
||||
{
|
||||
const int_bits = comptime std.meta.bitCount(Int);
|
||||
|
|
Loading…
Reference in New Issue