ofBuffer.set only part of an array

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

no that will work as expected by copying only the first 12 bytes

thanks- now to look for a deeper problem.