1 #ifndef MSP_IO_UTILS_H_
2 #define MSP_IO_UTILS_H_
11 /** Reads data from an object. Does not return until the requested amount of
12 data is read, regardless of the blocking mode of the object.
14 Note: If the data is not immediately available and the object is in non-blocking
15 mode, this function effectively becomes a busyloop until it can get more
17 std::size_t read_all(Base &, char *, std::size_t);