This project is read-only.

Using ArraySegment<T> instead of byte[]+offset+count

Apr 2, 2012 at 4:06 AM

For all the byte[] methods, ArraySegment is a much better alternative - the structure has been available since .NET 2.0, and Microsoft will be using it in their websockets implementation. It even eliminates the need for argument validation.

Apr 2, 2012 at 4:23 PM

Thank you, I'll do more research!