pub fn swizzle(
data: &[u8],
layout: &SwitchLayout,
meter: &Arc<Meter>,
) -> Result<MeteredVec<u8>, DecodeError>Expand description
Inverse of deswizzle, using the same checked layout and GOB order.
UnityPy’s write loop is helpers/TextureSwizzler.py:44-69.