Struct class random access
castironpi at gmail.com
Tue Aug 26 07:41:29 CEST 2008
On Aug 25, 11:47 pm, Marc 'BlackJack' Rintsch <bj_... at gmx.net> wrote:
> On Mon, 25 Aug 2008 14:49:14 -0700, castironpi wrote:
> > I'm interested in the speed benefit, so you don't have to reconstruct
> > the entire 'record' just to read/write one 'field'. How in ctypes?
> Only the field accessed is converted.
> Marc 'BlackJack' Rintsch
I know that. I was asking how to write 'unpack_from( buf, off, 2 )',
when buf is a non-ctypes buffer.
More information about the Python-list