(self)
| 1989 | self._options = options |
| 1990 | |
| 1991 | def __iter__(self): |
| 1992 | while True: |
| 1993 | for asn1Object in self._singleItemDecoder( |
| 1994 | self._substrate, self._asn1Spec, **self._options): |
| 1995 | yield asn1Object |
| 1996 | |
| 1997 | for chunk in isEndOfStream(self._substrate): |
| 1998 | if isinstance(chunk, SubstrateUnderrunError): |
| 1999 | yield |
| 2000 | |
| 2001 | break |
| 2002 | |
| 2003 | if chunk: |
| 2004 | break |
| 2005 | |
| 2006 | |
| 2007 | class Decoder(object): |
nothing calls this directly
no test coverage detected