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

Function password

packages/pg-protocol/src/serializer.ts:45–47  ·  view source on GitHub ↗
(password: string)

Source from the content-addressed store, hash-verified

43}
44
45const password = (password: string): Buffer => {
46 return writer.addCString(password).flush(code.startup)
47}
48
49const sendSASLInitialResponseMessage = function (mechanism: string, initialResponse: string): Buffer {
50 // 0x70 = 'p'

Callers

nothing calls this directly

Calls 2

flushMethod · 0.45
addCStringMethod · 0.45

Tested by

no test coverage detected