function readAllBytes
source · line 26public
public suspend fun AsyncByteSource.readAllBytes(maxBytes: Long): Array<Byte>
Extension receiver: AsyncByteSource
Collects the remaining input until EOF. The limited overload throws ReadLimitException if input exceeds maxBytes; the unlimited overload has no explicit byte limit.
parameter maxBytes
source · line 26public
maxBytes: Long
parameter receiver
source · line 26public
AsyncByteSource