File: uncompress.pxd

package info (click to toggle)
obitools 3.0.1~b26%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 26,756 kB
  • sloc: ansic: 24,299; python: 657; sh: 27; makefile: 21
file content (19 lines) | stat: -rwxr-xr-x 388 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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    pos
    
    cpdef bytes read(self,int size=?)
    cpdef bytes read1(self,int size=?)
    cpdef int tell(self)

    
cdef class CompressedFile:
    cdef object accessor
    cdef bint compressed