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

Function i16

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

Source from the content-addressed store, hash-verified

25 return b
26 },
27 i16(x) {
28 fit(2)
29 buffer.writeUInt16BE(x, b.i)
30 b.i += 2
31 return b
32 },
33 i32(x, i) {
34 if (i || i === 0) {
35 buffer.writeUInt32BE(x, i)

Callers

nothing calls this directly

Calls 1

fitFunction · 0.70

Tested by

no test coverage detected