bitCast
fn
T bitCast(T, S)(ref S value) if (T.sizeof <= S.sizeof) refTakes the raw bits of a value and reinterprets them as a different type.
Parameters
T | the new type. |
value | the value to reinterpret. |
Returns
a reference to the reinterpreted value.