public void write(byte[] b, int offset, int length) throws IOException {
		checkOpen();
		randomAccessFile.write(b, offset, length);
		buffer = EMPTY;
		bufferOffset = 0;
		lastbuffer = EMPTY;
		lastbufferOffset = 0;
	}
Writes a sub array as a sequence of bytes. 
@param b the data to be written
@param offset the start offset in the data
@param length the number of bytes that are written
@exception IOException If an I/O error has occurred.
GPL/DMG/src/dmg/java/mobiledevices/dmg/ghidra/GRandomAccessFile.java