Return an iterable over unicode text lines extracted from a binary file at location.
(location)
| 177 | |
| 178 | |
| 179 | def unicode_text_lines_from_binary(location): |
| 180 | """ |
| 181 | Return an iterable over unicode text lines extracted from a binary file at |
| 182 | location. |
| 183 | """ |
| 184 | T = typecode.get_type(location) |
| 185 | if T.contains_text: |
| 186 | for line in strings.strings_from_file(location): |
| 187 | yield remove_verbatim_cr_lf_tab_chars(line) |
| 188 | |
| 189 | |
| 190 | def unicode_text_lines_from_pdf(location): |
no test coverage detected