def io.send.bytes

bend-kit-http@0.38.2.0 · http.bend:2491

import bend-kit-http@0.38.2.0/http.bend as Http
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

2491def io.send.bytes(tls: Bool, s: Socket, b: Bytes.Bytes) -> IO(Socket & Result<&1, &1, U32 & String, Unit>):
2492  Bytes.Bytes{+len, buf} = b
2493  io.send.words(tls, s, len, buf)

Uses (10)

Used by (6)