def Octets.concat.ref
import bend-osdev-bytes@0.1.1.0/bytes.bend as Bytesimport Base
586# concat as the laws state it: each piece in front of the rest
587def Octets.concat.ref(os: List<&2, Octets>) -> Octets:
588 match os:
589 case Nil{}:
590 Octets.empty()
591 case Con{h, t}:
592 Octets.append(h, Octets.concat.ref(t))