secureZeroMemory

Fills a block of memory with zeros. It is designed to be a more secure version of ZeroMemory.

!!! function secureZeroMemory processes data by byte.

Use this function instead of ZeroMemory when you want to ensure that your data will be overwritten promptly, as some compilers can optimize a call to ZeroMemory by removing it entirely.

  1. void secureZeroMemory(void* p, size_t length)
    pure nothrow @nogc
    void
    secureZeroMemory
    (
    void* p
    ,
    in size_t length
    )
  2. void secureZeroMemory(void[] ar)

Meta