def io.write

bend-kit-postgres@0.3.0.0 · postgres.bend:85

import bend-kit-postgres@0.3.0.0/postgres.bend as Postgres
import 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)

Uses (10)

Used by (3)