Codec.names.enc: def of bend-kit-postgres@0.3.0.0 Import: import bend-kit-postgres@0.3.0.0/codec.bend as Codec Lines 158-163 of bend-kit-postgres@0.3.0.0/codec.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-postgres@0.3.0.0/codec.bend&start_line=158&end_line=163 import Base import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes def names.enc(xs: List<&1, Bytes.Bytes>) -> List<&1, Bytes.Bytes>: match xs: case Nil{}: [byte1(0)] case Con{h, t}: Con{cstr.enc(h), names.enc(t)} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/codec.bend&name=byte1 https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/codec.bend&name=cstr.enc