.NET Micro Framework Unsafe code
-
19-09-2019 - |
Question
Does .NET Micro Framework support unsafe code? In other words, can I use pointers in my code for .NET Micro Framework?
Solution
From the Wikipedia page (emphasis mine):
For example, the platform does not support symmetric multiprocessing, multi-dimensional arrays, machine-dependent types, or unsafe instructions.
The technical white paper lists it in the omitted features too.
OTHER TIPS
Although officially not supported, I have personally used and tested unsafe code in NETMF 4.2 and find that it works as expected.
Another developer provides sample code for implementing a BitConverter
class on NETMF doing just this:
http://forums.netduino.com/index.php?/topic/308-bitconverter/
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow