Returns an instance of a subclass of Buffer with t as content

Property definitions

core $ Buffer :: from_text
	# Returns an instance of a subclass of `Buffer` with `t` as content
	new from_text(t: Text) do
		var ret = new Buffer.with_cap(t.byte_length)
		ret.append t
		return ret
	end
lib/core/text/abstract_text.nit:1528,2--1533,4