cluFullTransmute 1.4.2

Extended, no-constraint type transmutation API, featuring safe checks and const-ready logic.
Documentation
1
2
3
4
5
6
7
8
use cluFullTransmute::transmute_unchecked;

fn main() {
	let bytes: [u8; 4] = [0xDE, 0xAD, 0xBE, 0xEF];
	let number: u32 = unsafe { transmute_unchecked(bytes) };

	println!("Transmuted value: {number:#010X}");
}