[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] bit operations



Casey Duncan wrote:
You can probably achieve nearly the same level of compression (or even perhaps better depending on the data) much more easily by using the struct module and then compressing the result using zlib.

Another possibility might be to use ctypes to do the packing,
since it supports bit fields in structs.

--
Greg