| 1: | func @bitCast = <{FROM: Type, TO: Type}> (from: FROM) #unsafe -> TO; |
Bitwise convert a value of any type to any other tpe of the same size. Requires that @numBytes<{FROM, true}>() == @numBytes<{TO, true}>().
FROM: type to convert from - cannot be type Void
TO: type to convert to - cannot be type Void
from: value to convert
Returns converted value
(TODO)