Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Aliases GenericIoDriver.readAll

1
2
3
module juptune.event.io;

alias readAll = ;

Documentation

Continues to read data into a buffer until no bytes are left to read.

If the buffer needs to be grown, then the growFuncis called. If the growFuncis null, then the default action is to first grow to 4096 bytes, and then keep doubling the length.

This is a high level helper around the receivefunction.

This overload is specifically @nogc, and makes use of juptune.core.ds.array.Arrayfor storage.

Params

Throws

Asserts that growFunchas grown buffer.lengthif it returns a non-error Result.

Any error that the platform-specific receivefunction returns.

Returns

A Result

See_Also

readAllGC