Codec.packet.of: def of bend-kit-postgres@0.3.0.0 Import: import bend-kit-postgres@0.3.0.0/codec.bend as Codec Lines 91-93 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=91&end_line=93 import Base import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes def packet.of(r: Bytes.Bytes & U32) -> Bytes.Bytes: (body, +n) = r Bytes.append(be32((n + 4 : U32)), body) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add 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-bytes@0.3.3.0/bytes.bend&name=append https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.0.0/codec.bend&name=be32