c# - How to remove a subarray of an array -
how can remove group of elements inside array
?
i have following code:
private void processresponse(byte[] response) { byte[] header; byte[] payload; if (response.length > 8) { header = response.take<byte>(8).toarray(); //payload = //should rest of "response" bytes } } }
how can make payload
response
without header
?
you looking skip
method:
payload = response.skip(8).toarray();
Comments
Post a Comment