Main Site Documentation

Memset functionality?


Hey, I have an application where I want to initialize a range of a byte array to a given value. Is there some kind of memset(…) type function available in .netmf C#?


Unfortunately not. You have to initialize it in a loop or during construction.


Can’t check it now, but does Array.Clear exist in MF?


It does.


Thanks. That helps. Maybe we need functions for buffer manipulation in the Util namespace?