/// <summary> Return the output stream as a set of <c>ArraySegment</c>. </summary> /// <returns>Data from this stream, converted to output type.</returns> public IList <ArraySegment <byte> > ToBytes() { return(ab.ToBytes()); }