On 3/14/07, Chas Owens <[EMAIL PROTECTED]> wrote:

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.




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.


Can i know about the format in which i need to supply the input? Coz i am
unable to accept the hex string.

Thanks and Regards,
Dharshana

Reply via email to