Read and return contents of *resource* within *package* as bytes.
(anchor, *path_names)
| 21 | |
| 22 | |
| 23 | def read_binary(anchor, *path_names): |
| 24 | """Read and return contents of *resource* within *package* as bytes.""" |
| 25 | return _get_resource(anchor, path_names).read_bytes() |
| 26 | |
| 27 | |
| 28 | def read_text(anchor, *path_names, encoding=_MISSING, errors='strict'): |
nothing calls this directly
no test coverage detected
searching dependent graphs…