48 #ifndef MUI_STREAM_STRING_H
49 #define MUI_STREAM_STRING_H
60 std::string str(size,
'*');
61 for(
char& a: str ) stream >> a;
67 std::size_t size = {str.size()};
69 stream.
write(str.c_str(), str.size());
virtual void write(const char *ptr, std::size_t size)=0
istream & operator>>(istream &stream, smalluint &sml)
Definition: comm_tcp.h:103
ostream & operator<<(ostream &stream, const smalluint &sml)
Definition: comm_tcp.h:127
Defines base stream class container_stream and associated functors.