static void setKeyStrChars(Page pg, int offs, char[] str) { 
        int len = str.length;
        for (int i = 0; i < len; i++) { 
            Bytes.pack2(pg.data, firstKeyOffs + offs, (short)str[i]);
            offs += 2;
        }
    }