def io.write
import bend-kit-postgres@0.3.0.0/postgres.bend as Postgresimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
85def io.write(tls: Bool, s: Socket, data: Bytes.Bytes) -> IO(Socket & Result<&1, &1, U32 & String, Unit>):
86 Bytes.Bytes{+len, buf} = data
87 io.send(tls, s, len, buf)