Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/denodrivers/postgres
/ readInt16
Method
readInt16
connection/packet.ts:40–44 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
38
}
39
40
readInt16(): number {
41
const
value = readInt16BE(this.#buffer, this.#offset);
42
this.#offset += 2;
43
return
value;
44
}
45
46
readInt32(): number {
47
const
value = readInt32BE(this.#buffer, this.#offset);
Callers
2
parseRowDataMessage
Function · 0.80
parseRowDescriptionMessage
Function · 0.80
Calls
1
readInt16BE
Function · 0.90
Tested by
no test coverage detected