[−][src]Function body_image_futio::decode_res_body
pub fn decode_res_body(
dialog: &mut Dialog,
tune: &Tunables
) -> Result<bool, BodyError>
Decode the response body of the provided Dialog
compressed with any
supported Encoding
, updated the dialog accordingly. The provided
Tunables
controls decompression buffer sizes and if the final
BodyImage
will be in Ram
or FsRead
. Returns Ok(true)
if the
response body was decoded, Ok(false)
if no or unsupported encoding,
or an error on failure.