ctypes Structure serialization

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue Feb 9 00:43:48 EST 2010


In message <615b1271-a9b0-4558-8e45-
e4370698d96a at a16g2000pre.googlegroups.com>, rych wrote:

> I'm not quite familiar with python serialization but the picle module,
> at least, doesn't seem to be able to serialize a ctypes Structure with
> array-fields.

Remember that a ctypes structure is supposed to represent a lower-language-
level structure, which is just a block of bytes. Those bytes are the 
serialization.



More information about the Python-list mailing list