core :: Text :: append_to_bytes
self.bytes
to b
# 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
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