()
| 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() |
no outgoing calls
no test coverage detected