pub fn load_hex(
arg: Option<String>,
file: Option<String>,
) -> Result<Option<Bytes>>Expand description
Load hex-encoded bytes from an argument or a file. If the file is a dash (-), read from stdin.
Priority: arg > file. Returns None if neither is provided.