36 std::copy(buf, buf+size,
data.begin());
46 unsigned int items = msg->
size();
53 for (
unsigned int i=0; i<items; ++i)
63 std::memcpy(
data.data()+pos, msgitem.
data(),
format->getItemBytes(i));
64 pos +=
format->getItemBytes(i);
76 unsigned int items =
format->getItemCount();
80 for (
unsigned int j = 0; j < items; j++)
82 unsigned int bytesize =
format->getItemBytes(j);
Message & putmsg(void *, int, int=0)
Message & setCopy(const bool c)
Message & setDelete(const bool c)
unsigned int numBytes() const
unsigned int numElems() const
MsgBuffer(Format *f, int count, int offset=0)