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

Method string

packages/pg-protocol/src/buffer-reader.ts:38–42  ·  view source on GitHub ↗
(length: number)

Source from the content-addressed store, hash-verified

36 }
37
38 public string(length: number): string {
39 const result = this.buffer.toString(this.encoding, this.offset, this.offset + length)
40 this.offset += length
41 return result
42 }
43
44 public cstring(): string {
45 const start = this.offset

Callers 4

parseDataRowMessageFunction · 0.80
parseErrorMessageFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected