Function sc_cli::utils::read_message [−][src]
pub fn read_message(
msg: Option<&String>,
should_decode: bool
) -> Result<Vec<u8>, Error>
Expand description
checks if message is Some, otherwise reads message from stdin and optionally decodes hex