-// *this <<mitem_c_r.str ();
- String str = mitem_c_r.str ();
- if (check_debug && !monitor->silent_b ("Midistrings"))
- {
- str = String_convert::bin2hex_str (str) + "\n";
- // ugh, should have separate debugging output with Midi*::print routines
- int i = str.index_i ("0a");
- while (i >= 0)
- {
- str[i] = '\n';
- str[i + 1] = '\t';
- i = str.index_i ("0a");
- }
- }
-
- *os_p_ << str;
- return *this;
-}
+ size_t sz = sizeof (Byte);
+ size_t n = str.length ();
+ size_t written = fwrite (str.data (), sz, n, out_file_);