K
keithroe
I have an array in the form [ uchar, float, float, float, uchar,
float, float, float, .... ]
I know I can pack it like this:
my_array.pack( "CFFFCFFFCFFF...." )
but then I have to create a string with as many elements as the array
I am packing,
which can be quite large. Is there a way to abbreviate this string
(eg, somethign like
my_array.pack( '(CFFF)*' ) ?
Thanks
float, float, float, .... ]
I know I can pack it like this:
my_array.pack( "CFFFCFFFCFFF...." )
but then I have to create a string with as many elements as the array
I am packing,
which can be quite large. Is there a way to abbreviate this string
(eg, somethign like
my_array.pack( '(CFFF)*' ) ?
Thanks