MCPcopy Index your code
hub / github.com/brianc/node-postgres / codeOnlyBuffer

Function codeOnlyBuffer

packages/pg-protocol/src/serializer.ts:252–252  ·  view source on GitHub ↗
(code: code)

Source from the content-addressed store, hash-verified

250}
251
252const codeOnlyBuffer = (code: code): Buffer => Buffer.from([code, 0x00, 0x00, 0x00, 0x04])
253
254const flushBuffer = codeOnlyBuffer(code.flush)
255const syncBuffer = codeOnlyBuffer(code.sync)

Callers 1

serializer.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected