| 349 | bool is_utf8; |
| 350 | |
| 351 | static Result<PyBytesView> FromString(PyObject* obj, bool check_utf8 = false) { |
| 352 | PyBytesView self; |
| 353 | ARROW_RETURN_NOT_OK(self.ParseString(obj, check_utf8)); |
| 354 | return std::move(self); |
| 355 | } |
| 356 | |
| 357 | static Result<PyBytesView> FromUnicode(PyObject* obj) { |
| 358 | PyBytesView self; |
nothing calls this directly
no test coverage detected