()
| 214 | } |
| 215 | |
| 216 | private skipStruct(): void { |
| 217 | for (;;) { |
| 218 | const { type } = this.readFieldBegin() |
| 219 | if (type === TYPE_STOP) break |
| 220 | this.skip(type) |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | /** Read struct fields, calling the handler for each field */ |
| 225 | readStruct<T>(handler: (reader: ThriftReader, fieldId: number, fieldType: number) => void): void { |
no test coverage detected