def frame.of
import bend-kit-postgres@0.3.0.0/codec.bend as Codecimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
83def frame.of(+tag: U32, r: Bytes.Bytes & U32) -> Bytes.Bytes:
84 (body, +n) = r
85 Bytes.concat([byte1(tag), be32((n + 4 : U32)), body])