private static byte[] combineStringArrayIntoBytes( String[] data) {
        int resultLength = 0;
        for (String s : data) {
            assert s.length() <= 65535 : "String is too long: " + s.length();
            resultLength += s.length();
        }

        byte[] result = new byte[resultLength];
        int p = 0;
        for (String s : data) {
            for (int i = 0, n = s.length(); i < n; i++) {
                result[p++] = (byte) s.charAt(i);
            }
        }

        return result;
    }
Combines the array of strings resulted from encodeBytes() into one long byte array
plugins/kotlin/src/main/java/org/vineflower/kotlin/metadata/BitEncoding.java