K
Kalle Rutanen
Hi
Is it endian-safe to use bit operations in C++ ?
For example bit-shifts, does the left shift by n always equal
multiplicication by 2^n (modulo 2^integerBits), independent of endian
system used ?
Is it endian-safe to use bit operations in C++ ?
For example bit-shifts, does the left shift by n always equal
multiplicication by 2^n (modulo 2^integerBits), independent of endian
system used ?