Mercurial > touhou
view pytouhou/utils/bitstream.pxd @ 734:7886a1a5d226
ecl_vm: instruction 122 beginnings, sf 12 done
author | Gauvain "GovanifY" Roussel-Tarbouriech <gauvain@govanify.com> |
---|---|
date | Sun, 03 Nov 2019 04:42:58 +0100 |
parents | 3c2f96f1d715 |
children |
line wrap: on
line source
cdef class BitStream: cdef public object io cdef unsigned int bits cdef unsigned char byte cdef bint read_bit(self) except -1 cpdef unsigned int read(self, unsigned int nb_bits) except? 4242 cpdef write_bit(self, bint bit) cpdef write(self, unsigned int bits, unsigned int nb_bits) cpdef flush(self)