MCPcopy Create free account
hub / github.com/denoland/celld / allocUnsafe

Method allocUnsafe

crates/celld/js/node_buffer.js:235–237  ·  view source on GitHub ↗
(size)

Source from the content-addressed store, hash-verified

233 ? b : b.fill(fill, 0, b.length, encoding);
234 }
235 static allocUnsafe(size) {
236 return new NodeBuffer(__assertSize(size));
237 }
238 static allocUnsafeSlow(size) {
239 return new NodeBuffer(__assertSize(size));
240 }

Callers 2

concatMethod · 0.80
_getBufferMethod · 0.80

Calls 1

__assertSizeFunction · 0.85

Tested by

no test coverage detected