Suppose I have two buffers:
uint8_t* buf1[100];
uint8_t* buf2[10];
uint8_t* buf3[90];
Where buf1
is full of data and I need to pass 10 bytes of this data to buf2
and the rest to buf3
. Is there a way to do this without copying?
If not, is there a high level library (like std::vector
) in which splicing is possible without copying?