3 œäL]âã@sfdZddlmZmZmZmZddlmZdd„Zddd„Z d d „Z Gd d „d e ƒZ Gd d„de ƒZ dS)z¥ FFI helper compatibility functions. Exports the following items: - LibraryNotFoundError - FFIEngineError - bytes_from_buffer() - buffer_from_bytes() - null() é)Úunicode_literalsÚdivisionÚabsolute_importÚprint_function)Úcreate_string_buffercCst|ƒS)N)r)Z initializer©rú7/tmp/pip-install-wfra5znf/asn1crypto/asn1crypto/_ffi.pyÚbuffer_from_bytessr NcCs|jS)N)Úraw)ÚbufferÚmaxlenrrrÚbytes_from_buffersr cCsdS)NrrrrrÚnullsrc@seZdZdZdS)ÚLibraryNotFoundErrorz; An exception when trying to find a shared library N)Ú__name__Ú __module__Ú __qualname__Ú__doc__rrrrrsrc@seZdZdZdS)ÚFFIEngineErrorz@ An exception when trying to instantiate ctypes or cffi N)rrrrrrrrr'sr)N)rÚ __future__rrrrÚctypesrr r rÚ ExceptionrrrrrrÚ s