In C# with Linq you can do this:
smallPortion = largeBytes.Take(4).ToArray();
largeBytes = largeBytes.Skip(4).Take(5).ToArray();
😉
More Related Contents:
- Ordered Unique Combinations [closed]
- C# appointing distinct array elements randomly to another array
- How to generate an Array of Double Arrays in c#? [duplicate]
- Define if statement for property in C# [closed]
- C# Split String before the first number
- How to convert UTF-8 byte[] to string
- How to access random item in list?
- How to convert byte array to string [duplicate]
- Easiest way to compare arrays in C#
- What is the Maximum Size that an Array can hold?
- How do arrays in C# partially implement IList?
- Any faster way of copying arrays in C#?
- Comparing arrays in C#
- Split a string with delimiters but keep the delimiters in the result in C#
- Find index of a value in an array
- Getting the “diff” between two arrays in C#?
- How to compare arrays in C#? [duplicate]
- Difference between the System.Array.CopyTo() and System.Array.Clone()
- Easiest way to Rotate a List in c#
- C# Creating an array of arrays
- C# Copy Array by Value
- Are P/Invoke [In, Out] attributes optional for marshaling arrays?
- split a string on newlines in .NET
- send byte array by HTTP POST in store app
- Post JSON array to mvc controller
- Operator ‘==’ cannot be applied to operands of type ‘char’ and ‘string’
- Using XmlSerializer with an array in the root element
- Split string and get first value only
- byte[] to unsigned BigInteger?
- Byte Array to Bitmap Image