Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/denodrivers/postgres
/ readString
Method
readString
connection/packet.ts:70–73 ·
view source on GitHub ↗
(length: number)
Source
from the content-addressed store, hash-verified
68
}
69
70
readString(length: number): string {
71
const
bytes = this.readBytes(length);
72
return
this.#decoder.decode(bytes);
73
}
74
75
readCString(): string {
76
const
start = this.#offset;
Callers
1
parseCommandCompleteMessage
Function · 0.80
Calls
1
readBytes
Method · 0.95
Tested by
no test coverage detected