Skip to main content

encode_file

Function encode_file 

Source
pub fn encode_file(
    logical_id: &str,
    file_name: Option<&str>,
    media_type: &str,
    transport_kind: Option<&str>,
    bytes: Vec<u8>,
) -> Result<Vec<u8>>
Expand description

Encodes one file payload without storing it.