Flush the specified buffer as a characters event.

Do nothing if buffer is empty.

Property definitions

saxophonit $ XophonReader :: flush
	# Flush the specified buffer as a `characters` event.
	#
	# Do nothing if `buffer` is empty.
	private fun flush(buffer: Buffer) do
		if buffer.length > 0 then
			model.fire_characters(buffer.to_s)
			buffer.clear
		end
	end
lib/saxophonit/saxophonit.nit:710,2--718,4