Use bitmask trick to read unsigned