#include <chunked_istream.h>
Definition at line 126 of file chunked_istream.h.
◆ chunked_istream()
libdap::chunked_istream::chunked_istream |
( |
std::istream & | is, |
|
|
int | size ) |
|
inline |
◆ bytes_in_buffer()
int libdap::chunked_istream::bytes_in_buffer |
( |
| ) |
const |
|
inline |
How many bytes have been read from the stream and are now in the internal buffer?
- Returns
- Number of buffered bytes.
Definition at line 139 of file chunked_istream.h.
◆ error()
bool libdap::chunked_istream::error |
( |
| ) |
const |
|
inline |
◆ error_message()
std::string libdap::chunked_istream::error_message |
( |
| ) |
const |
|
inline |
◆ read_next_chunk()
int libdap::chunked_istream::read_next_chunk |
( |
| ) |
|
|
inline |
◆ twiddle_bytes()
bool libdap::chunked_istream::twiddle_bytes |
( |
| ) |
const |
|
inline |
Should the receiver twiddle the bytes to match the local machine's byte order? Since DAP4 uses 'receiver makes right' encoding, the onus is on the client to reorder the bytes if it is, e.g., a big endian machine reading data from a little endian server.
- Returns
- True if the client (caller) should swap bytes in multi-byte integers, etc., and false if not. This does not directly tell the endian nature of the remote server, although that can be inferred.
Definition at line 151 of file chunked_istream.h.
◆ d_cbuf
The documentation for this class was generated from the following file: