Hi, is it possible to read an unfixed length packet from the ringbuf?
For example, my packet has the format: [ <content: sizeof(size)> ] and its size can not be determined before running.
I tried to call rb.read() two times but it seems that those two read() calls will consume two different packets.
Hi, is it possible to read an unfixed length packet from the ringbuf?
For example, my packet has the format: [ <content: sizeof(size)> ] and its size can not be determined before running.
I tried to call
rb.read()
two times but it seems that those two read() calls will consume two different packets.