private static int unsign(byte x) {
        int y;

        y = 0xFF & x;
        return y;
    }
Transform a byte to an int viewed as an unsigned byte.
vespajlib/src/main/java/com/yahoo/collections/BobHash.java