MCPcopy Create free account
hub / github.com/porsager/postgres / z

Function z

cjs/src/bytes.js:43–48  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

41 return b
42 },
43 z(x) {
44 fit(x)
45 buffer.fill(0, b.i, b.i + x)
46 b.i += x
47 return b
48 },
49 raw(x) {
50 buffer = Buffer.concat([buffer.subarray(0, b.i), x])
51 b.i = buffer.length

Callers

nothing calls this directly

Calls 1

fitFunction · 0.70

Tested by

no test coverage detected