JanetDocsPlaygroundI'm feeling luckyGitHub sign in

net/chunk



    cfunction
    src/core/net.c on line 788, column 1

    (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...