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

Function i32

cjs/src/bytes.js:33–42  ·  view source on GitHub ↗
(x, i)

Source from the content-addressed store, hash-verified

31 return b
32 },
33 i32(x, i) {
34 if (i || i === 0) {
35 buffer.writeUInt32BE(x, i)
36 return b
37 }
38 fit(4)
39 buffer.writeUInt32BE(x, b.i)
40 b.i += 4
41 return b
42 },
43 z(x) {
44 fit(x)
45 buffer.fill(0, b.i, b.i + x)

Callers

nothing calls this directly

Calls 1

fitFunction · 0.70

Tested by

no test coverage detected