public static void Send <T>(this Stream stream, T data) { SendByteArray(stream, ByteArray.CreateFrom(data)); }