support overload for arraysegment<byte> and enumerable of

need to install xunit still