public String readAsciiString(long index, int length) throws IOException {
        StringBuffer buffer = new StringBuffer();
        for (int i = 0 ; i < length ; ++i) {
            byte b = provider.readByte(index++);
            buffer.append((char) (b & 0x00FF));
        }
        return buffer.toString().trim();
    }
Returns an Ascii string of <code>length</code> bytes
starting at <code>index</code>. This method does not
care about null-terminators.
@param index the index where the Ascii string begins
@param length the length of the Ascii string
@return the Ascii string
@exception IOException if an I/O error occurs
GPL/DMG/src/dmg/java/mobiledevices/dmg/ghidra/GBinaryReader.java