don't use int32_t types in bitio.h