Fix unsound implementation of ImageSurfaceDataExt
This prevents you from making unaligned accesses to arbitrary [u8]
, restricting the pointer-casting shenanigans to only the spots where the data type can justify them.
Fixes #450 (closed)
This prevents you from making unaligned accesses to arbitrary [u8]
, restricting the pointer-casting shenanigans to only the spots where the data type can justify them.
Fixes #450 (closed)