MCPcopy Create free account
hub / github.com/GoogleChrome/samples / zeroMemory

Function zeroMemory

mkbitmap/mkbitmap.js:1481–1484  ·  view source on GitHub ↗
(address, size)

Source from the content-addressed store, hash-verified

1479
1480
1481 function zeroMemory(address, size) {
1482 HEAPU8.fill(0, address, address + size);
1483 return address;
1484 }
1485
1486 function alignMemory(size, alignment) {
1487 assert(alignment, "alignment argument is required");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected