patch the uncompress module to be able to deal with remote file

This commit is contained in:
2016-03-29 20:57:39 +02:00
parent 2e17dbce55
commit 94417e1330
2 changed files with 20 additions and 16 deletions

View File

@ -1,10 +1,11 @@
#cython: language_level=3
cdef class MagicKeyFile:
cdef object stream
cdef str stream_mode
cdef object binary
cdef bytes key
cdef int keylength
cdef int keylength
cdef int pos
cpdef bytes read(self,int size=?)