MCPcopy Create free account
hub / github.com/Effect-TS/effect / setInt32

Method setInt32

packages/sql/pg/src/PgProtocol.ts:479–485  ·  view source on GitHub ↗
(offset: number, value: number)

Source from the content-addressed store, hash-verified

477 }
478
479 setInt32(offset: number, value: number): void {
480 const bytes = this.bytes
481 bytes[offset] = value >>> 24
482 bytes[offset + 1] = value >>> 16
483 bytes[offset + 2] = value >>> 8
484 bytes[offset + 3] = value
485 }
486
487 float32(value: number): void {
488 this.reserve(4)

Callers 14

int32Method · 0.95
endLengthMethod · 0.95
dataRowFunction · 0.80
frameFunction · 0.80
PgProtocol.test.tsFile · 0.80
endFunction · 0.80
emptyFunction · 0.80
encodeStartupMessageFunction · 0.80
stage8Function · 0.80
PgTypes.tsFile · 0.80
i32leMethod · 0.80
floatMethod · 0.80

Calls

no outgoing calls

Tested by 2

dataRowFunction · 0.64
frameFunction · 0.64