Hi, Vojtech,

On Fri, May 25, 2012 at 08:11:04AM +0200, Vojtech Horky wrote:
> > The tree only contains the final result of decoding the binary data. The
> > converter (which is the part I'm still thinking about) may know that
> > some data is a 4-byte little-endian unsigned integer, but after it's
> > decoded it's represented in the tree just like any other integer.
> Ahaaa. Do I get it right, that the node would be something like a union {
> long number;
> char *utf8_string;
> uint8_t binary;
> } ?

Yes, something like that.

Thanks,
Sean

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to