IMorseDecoder.Decode

IMorseDecoder.Decode method

Deciphers Morse code.

public string Decode(string morseText, MorseAlphabets alphabet = MorseAlphabets.Latin, 
    char inputSeparator = '/', char outputSeparator = ' ')
ParameterTypeDescription
morseTextStringText encoded by Morse code, ie text like “… — …"(SOS)
alphabetMorseAlphabetsAlphabet of Morse code
inputSeparatorCharSymbol used to separate words in encoded text
outputSeparatorCharSymbol used to separate words in decoded text

Return Value

Decoded text

See Also