Return a |StreamReader| instance with wrapping `stream` and having "endian- ness" determined by the 'MM' or 'II' indicator in the TIFF stream header.
(cls, stream)
| 109 | |
| 110 | @classmethod |
| 111 | def _make_stream_reader(cls, stream): |
| 112 | """Return a |StreamReader| instance with wrapping `stream` and having "endian- |
| 113 | ness" determined by the 'MM' or 'II' indicator in the TIFF stream header.""" |
| 114 | endian = cls._detect_endian(stream) |
| 115 | return StreamReader(stream, endian) |
| 116 | |
| 117 | |
| 118 | class _IfdEntries: |