/// <summary> /// Send multiple frames on <paramref name="socket" />, blocking until all frames are sent. /// </summary> /// <param name="socket">the IOutgoingSocket to transmit on</param> /// <param name="frames">frames to transmit</param> public static void SendMultipartBytes([NotNull] this IOutgoingSocket socket, params byte[][] frames) { socket.SendMultipartBytes((IEnumerable <byte[]>)frames); }