Well, I don't even know well what I was looking for TBH, but thanks for the info. I just realized that when dealing with it's own buffer, a serialzing code knows each chunk size beforehand. But to deal with incoming data the buffer needs to not be overwritten due to unknown size of incoming datagrams through a network for example. In other words, the buffer design will have to be more complex. :boohoo: But I'll find a way...