Can someone tell me what happens in this case;
int length = 12;
uint8_t _packetBuffer[96];
ofBuffer tempBuffer;
tempBuffer.set((char *)_packetBuffer, length);
Will the buffer just have the first 12 bytes from the _packetBuffer? Or do I have to create another shorter array and copy everything in first before I pass it to the buffer?
Cheers