class Reader

Defined at line 37 of file ../../third_party/github.com/google/cppdap/src/include/dap/io.h

Reader is an interface for reading from a byte stream.

Public Methods

size_t read (void * buffer, size_t n)

read() attempts to read at most n bytes into buffer, returning the number

of bytes read.

read() will block until the stream is closed or at least one byte is read.