fn readInt(comptime T: type, bytes: *const [@divExact(@typeInfo(T).Int.bits, 8)]u8, endian: Endian) T
Reads an integer from memory with bit count specified by T. The bit count of T must be evenly divisible by 8. This function cannot fail and cannot cause undefined behavior.
T: type,
bytes: *const [@divExact(@typeInfo(T).Int.bits, 8)]u8,
endian: Endian,