MCPcopy Index your code
hub / github.com/simstudioai/sim / readFieldBegin

Method readFieldBegin

apps/sim/app/api/tools/evernote/lib/thrift.ts:118–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 }
117
118 readFieldBegin(): { type: number; id: number } {
119 const type = this.view.getUint8(this.pos++)
120 if (type === TYPE_STOP) {
121 return { type: TYPE_STOP, id: 0 }
122 }
123 const id = this.view.getInt16(this.pos, false)
124 this.pos += 2
125 return { type, id }
126 }
127
128 readString(): string {
129 const length = this.readI32()

Callers 2

skipStructMethod · 0.95
readStructMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected