1 #ifndef MSP_IO_UTILS_H_
2 #define MSP_IO_UTILS_H_
5 #include <msp/core/mspcore_api.h>
12 /** Reads data from an object. Does not return until the requested amount of
13 data is read, regardless of the blocking mode of the object.
15 Note: If the data is not immediately available and the object is in non-blocking
16 mode, this function effectively becomes a busyloop until it can get more
18 MSPCORE_API std::size_t read_all(Base &, char *, std::size_t);