How can I remove a group of elements inside an array?
I have the following code:
private void processResponse(byte[] response)
{
byte[] header;
byte[] payload;
if (response.Length > 8)
{
header = response.Take<byte>(8).ToArray();
//payload = //should be the rest of "response" bytes
}
}
}
How can I make payload to be response without header?