def recv.words

bend-kit-wire@0.4.8.0 · wire.bend:108

import bend-kit-wire@0.4.8.0/wire.bend as Wire
import Base

108# The .words forms move (len, words): bytes packed four to a U32, laid out as
109# bytes/bytes.bend packs them, so no String cell is made per byte.
110def recv.words(sock: Socket, max: U32, ms: U32) ->
111  IO(Socket & Result<&1, &1, U32 & String, U32 & Array<U32>>):
112  import "./effs/wire.c"
113  import "./effs/wire.js"

Uses (7)

Used by (9)