(self, spec)
| 276 | return next(self._read_by_ttype(ttype, spec, spec)) |
| 277 | |
| 278 | def readContainerList(self, spec): |
| 279 | ttype, tspec, is_immutable = spec |
| 280 | (list_type, list_len) = self.readListBegin() |
| 281 | # TODO: compare types we just decoded with thrift_spec |
| 282 | elems = islice(self._read_by_ttype(ttype, spec, tspec), list_len) |
| 283 | results = (tuple if is_immutable else list)(elems) |
| 284 | self.readListEnd() |
| 285 | return results |
| 286 | |
| 287 | def readContainerSet(self, spec): |
| 288 | ttype, tspec, is_immutable = spec |
nothing calls this directly
no test coverage detected