def frame
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
87# A tagged message: the tag byte, the int32 length (counting itself), then the body.
88def frame(+tag: U32, body: Bytes.Bytes) -> Bytes.Bytes:
89 frame.of(tag, Bytes.length(body))