public long length() throws IOException {
        return provider.length();
    }
Returns the length of the underlying file.
@return returns the length of the underlying file
@exception IOException if an I/O error occurs
GPL/DMG/src/dmg/java/mobiledevices/dmg/ghidra/GBinaryReader.java