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

Function i16

cf/src/bytes.js:28–33  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

fitFunction · 0.70

Tested by

no test coverage detected