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

Function i32

cf/src/bytes.js:34–43  ·  view source on GitHub ↗
(x, i)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

fitFunction · 0.70

Tested by

no test coverage detected