calloc top-level constant
CallocAllocator
const calloc
Manages memory on the native heap.
Initializes newly allocated memory to zero. Use malloc for uninitialized memory allocation.
For POSIX-based systems, this uses calloc and free. On Windows, it uses
CoTaskMemAlloc and CoTaskMemFree.
Implementation
const CallocAllocator calloc = CallocAllocator._();