On 3/14/07, Dharshana Eswaran <[EMAIL PROTECTED]> wrote:
snip
Now how do i come up with the pack template? I dont know how a enum should
be represented in the pack template. :-(
/I8(enum)I8i8I8/ => pack template
The above mentioned enum just contains two elements.
The data which i need to pack and unpack to these elements are in hex
format(0x0B 0x1C 0x34 etc). It is a string of hex bytes.
I kindly request anyone to guide me in this.
Thanks and Regards,
Dharshana
In ANSI C enums are of type int.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/