Adds class for uncompressing transparently compressed files on line
This commit is contained in:
16
python/obitools3/files/uncompress.pxd
Normal file
16
python/obitools3/files/uncompress.pxd
Normal file
@ -0,0 +1,16 @@
|
||||
#cython: language_level=3
|
||||
|
||||
cdef class MagicKeyFile:
|
||||
cdef str stream_mode
|
||||
cdef object binary
|
||||
cdef bytes key
|
||||
cdef int keylength
|
||||
cdef int pos
|
||||
|
||||
cpdef bytes read(self,int size=?)
|
||||
cpdef int tell(self)
|
||||
|
||||
|
||||
cdef class CompressedFile:
|
||||
cdef object accessor
|
||||
|
Reference in New Issue
Block a user