How to treat exported IDs?

Wed 15. Jul 2015, 15:38

So when i export an xml file, the objects within are identified by Id:

<ObjectTemplateDefinition Id="0x0100000100000DD5">

Whats the best way to handle that id when writing a parser. Should i just treat it like a string or convert it to some other data type?
steamroller
 
Posts: 3
Joined: Mon 29. Jun 2015, 19:54

Re: How to treat exported IDs?

Thu 16. Jul 2015, 10:40

Hi steamroller,

the best way is to parse it into an unsigned int64 ("ulong" in C#).
String could work, but it's very bulky for this usage.

I hope this helps.

Cheers,
-Martin
User avatar
[Articy] Martin Gebske
 
Posts: 52
Joined: Mon 3. Nov 2014, 13:44
Location: Bochum

Return to Technical Discussion

Who is online

Users browsing this forum: No registered users and 22 guests

Who We Are
Contact Us
Social Links