public void setSize(int size, boolean preserveData) throws IOException {
		synchronized (dbh) {
			dbh.checkTransaction();
			buf.setSize(size, preserveData);
		}
	}
Set the new size for this DBBuffer object.
@param size new size
@param preserveData if true, existing data is preserved at the original offsets.  If false,
no additional effort will be expended to preserve data.
@throws UnsupportedOperationException thrown if this ChainedBuffer utilizes an 
Uninitialized Data Source or is read-only
@throws IOException thrown if an IO error occurs.
Ghidra/Framework/DB/src/main/java/db/DBBuffer.java