Skip to main content

decode_in

Function decode_in 

Source
pub fn decode_in(
    t: &TextureFields<'_>,
    data: &[u8],
    meter: &Arc<Meter>,
) -> Result<Image, DecodeError>
Expand description

Apply platform transforms before crunch/unpacking, then decode, crop and flip as UnityPy does. Ordinary callers keep using crate::decode.