def Octets.cons

bend-osdev-bytes@0.1.1.0 · bytes.bend:575

import bend-osdev-bytes@0.1.1.0/bytes.bend as Bytes
import Base

575# a byte (the low 8 bits of b) in front of o
576def Octets.cons(b: U32, o: Octets) -> Octets:
577  match o:
578    case Octets{ws}:
579      Octets{Con{oct.of(b), ws}}

Uses (4)

Used by (3)