Reads into caller memory. Zero bytes with no error means validated byte EOF. Window credit follows bytes consumed; no background message queue is created.
Signature
exchange_read :: (
exchange: *Http2_Exchange,
buffer: [] u8
) -> (count: int, failure: Client_Error)
// A closed handle has nothing to read.
exchange: Http2_Exchange;
buffer: [16] u8;
count, failure := exchange_read(*exchange, buffer);
assert(count == 0);
assert(failure.kind == .TRANSPORT && failure.detail == "exchange is closed");