(obj: typing.Any)
| 45 | |
| 46 | |
| 47 | def _extract_buffer_length(obj: typing.Any) -> typing.Tuple[typing.Any, int]: |
| 48 | from cryptography.hazmat.bindings._rust import _openssl |
| 49 | |
| 50 | buf = _openssl.ffi.from_buffer(obj) |
| 51 | return buf, int(_openssl.ffi.cast("uintptr_t", buf)) |
| 52 | |
| 53 | |
| 54 | class InterfaceNotImplemented(Exception): |
nothing calls this directly
no outgoing calls
no test coverage detected