If you use bit fields of the same type as the to be analyzed data, it should work on any implementation.