core :: Buffer :: from_text
Buffer
t
# 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