private static final int getShort(byte[] array, int offset) {
        return (array[offset + 1] & 0xff) << 8 | array[offset] & 0xff;
    }
Returns number of strings in block.
xpatch/src/main/java/wind/android/content/res/StringBlock.java