Function pnm::pbm::raw::decode_body_into_u8

source ·
pub fn decode_body_into_u8(
    x: &[u8],
    into: Image<u8, 1>
) -> Result<Image<Vec<u8>, 1>>
Expand description

Decodes the body of this image, placing it in the Uninit image.

If you wish to use this yourself, use decode_header to create an Uninit image, before passing it to decode_body_into.