Exemple #1
0
        public static bool TryParse(string str, IFormatProvider provider, out OscMidiMessage message)
        {
            try
            {
                message = Parse(str, provider);

                return(true);
            }
            catch
            {
                message = default(OscMidiMessage);

                return(false);
            }
        }
Exemple #2
0
        public static bool TryParse(string str, out OscMidiMessage message)
        {
            try
            {
                message = Parse(str, CultureInfo.InvariantCulture);

                return(true);
            }
            catch
            {
                message = default(OscMidiMessage);

                return(false);
            }
        }
Exemple #3
0
 internal static void Write(BinaryWriter writer, OscMidiMessage value)
 {
     Write(writer, value.FullMessage);
 }