@Override
	public int getBufferSize() {
		return bufferSize;
	}
Generate a BufferFileBlock instance which corresponds to the specified DataBuffer
based upon LocalBufferFile block usage.  This should generally not be used for writing
empty blocks since they will not be properly linked which is normally handled during
header flush which is performed by BufferFile close on files being written.
@param buf the data buffer to be converted
@param bufferSize data buffer size used for integrity check and generating empty buffer
@return BufferFileBlock instance.
Ghidra/Framework/DB/src/main/java/db/buffers/LocalBufferFile.java