MCPcopy Create free account
hub / github.com/simstudioai/sim / writeI32

Method writeI32

apps/sim/app/api/tools/evernote/lib/thrift.ts:53–58  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

51 }
52
53 writeI32(value: number): void {
54 this.buffer.push((value >> 24) & 0xff)
55 this.buffer.push((value >> 16) & 0xff)
56 this.buffer.push((value >> 8) & 0xff)
57 this.buffer.push(value & 0xff)
58 }
59
60 writeI64(value: bigint): void {
61 const buf = new ArrayBuffer(8)

Callers 4

writeMessageBeginMethod · 0.95
writeStringMethod · 0.95
writeI32FieldMethod · 0.95
writeStringListFieldMethod · 0.95

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected