Appends self.bytes to b

Property definitions

core :: bytes $ Text :: append_to_bytes
	# Appends `self.bytes` to `b`
	fun append_to_bytes(b: Bytes) do
		for s in substrings do
			var from = if s isa FlatString then s.first_byte else 0
			b.append_ns_from(s.items, s.byte_length, from)
		end
	end
lib/core/bytes.nit:814,2--820,4

core :: bytes $ FlatText :: append_to_bytes
	redef fun append_to_bytes(b) do
		var from = if self isa FlatString then first_byte else 0
		if isset _items then b.append_ns_from(items, byte_length, from)
	end
lib/core/bytes.nit:1016,2--1019,4