I have a raw buffer with it i need to make 3 others, the head which is always the first 8 bytes, body which is always from byte 8 to ? then foot which is from ? to the end of he file.
How do i make a buffer from an already existing buffer so i can fill in body and foot. also how do i create head to use the first 16 bytes. I am assuming i am not using a ref or pointer.
You can use Array.Copy() to copy elements from one array to another. You can specify the start and end positions for the source and destination.
You may also want to check out Buffer.BlockCopy().