Read contents of self as bytes
(self)
| 76 | """ |
| 77 | |
| 78 | def read_bytes(self) -> bytes: |
| 79 | """ |
| 80 | Read contents of self as bytes |
| 81 | """ |
| 82 | with self.open('rb') as strm: |
| 83 | return strm.read() |
| 84 | |
| 85 | def read_text(self, encoding: Optional[str] = None) -> str: |
| 86 | """ |
no test coverage detected