#ifndef MSP_IO_UTILS_H_
#define MSP_IO_UTILS_H_
+#include <cstddef>
+#include <msp/core/mspcore_api.h>
+
namespace Msp {
namespace IO {
Note: If the data is not immediately available and the object is in non-blocking
mode, this function effectively becomes a busyloop until it can get more
data. */
-unsigned read_all(Base &, char *, unsigned);
+MSPCORE_API std::size_t read_all(Base &, char *, std::size_t);
} // namespace IO
} // namespace Msp