JanetDocsPlaygroundI'm feeling luckyGitHub sign in

net/chunk



    cfunction

    (net/chunk stream nbytes &opt buf timeout)

    Same a net/read, but will wait for all n bytes to arrive rather than
    return early. Takes an optional timeout in seconds, after which will
    return nil.


0 examplesSign in to add an example
Loading...