protected String readString(int length, int offset) throws IOException {
        byte[] data = new byte[length];
        for(int j = 0; j < length; j++) {
            data[j] = dataArray[j+offset];
        }

        return new String(data);
    }
@author Joshua Slack
@author Kirill Vainer - Version number, Fast buffer reading
jme3-core/src/plugins/java/com/jme3/export/binary/BinaryImporter.java