Lighttpd sometimes casts between void and a pointer to some primitive type, or between two different primitive types. We could implement such conversions using a safe wrapper similar to bytemuck::cast_slice and treating void as equivalent to char* or *mut u8.
Lighttpd sometimes casts between void and a pointer to some primitive type, or between two different primitive types. We could implement such conversions using a safe wrapper similar to
bytemuck::cast_slice
and treating void as equivalent tochar*
or*mut u8
.