Expand description
unmem crate contains some interesting functions. I tried to make them as safe as possible. However, remember that even not marked as unsafe they still can be dangerous. All of these functions may cause UB!
Macros
Turns &T to [T; len] where len is constant.
Functions
Allocates memory.
Changes value of immutable variable.
Frees memory.
Returns value from address.
Returns address from reference.
Gives you a mutable reference from immutable.
Get value in memory related to src.
Analogue of memset.
Takes variable of one type and returns it as another type. EXTREMELY UNSAFE. Undefined Behavior or panic guaranteed.
Writes value to address.