I have a byte[] array of one size, and I would like to truncate it into a smaller array?
I just want to chop the end off.
Arrays are fixed-size in C# (.NET).
You'll have to copy the contents to a new one.
byte[] sourceArray = ... byte[] truncArray = new byte[10]; Array.Copy(sourceArray , truncArray , truncArray.Length);