MCPcopy Create free account
hub / github.com/apache/fory / alloc

Method alloc

javascript/packages/core/lib/platformBuffer.ts:69–71  ·  view source on GitHub ↗
(size: number)

Source from the content-addressed store, hash-verified

67 }
68
69 static alloc(size: number) {
70 return new BrowserBuffer(new Uint8Array(size));
71 }
72
73 private latin1Write(string: string, offset: number) {
74 let index = 0;

Callers 3

startFunction · 0.80
hps.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected