[][src]Function crypto_morse::encode

pub fn encode(input: &str) -> String

Encodes an ascii string into a morse code representation

Examples

use crypto_morse::encode;

assert_eq!(encode("SOS"), "... ___ ...");