msgpack/msgpack-objectivec — pull request #4 by plasmLC (2013-08-09 10:13:34+00:00)
Title: FIX (src): Fixed working with unsingned numbers.

Hello!
I was found, that MessagePack don`t correct detects unsigned types of numbers. To check this, try this code:

NSNumber *numberUnsignedLongLong = [NSNumber numberWithUnsignedLongLong:11282603312207742769];
NSNumber *numberInt = [NSNumber numberWithInt:11282603312207742769];

NSData *packedUnsigned = [@[numberUnsignedLongLong] messagePack];
NSData *packedInt = [@[numberInt] messagePack];

NSLog(@"unpacked uLongLong: %@", [[packedUnsigned messagePackParse] description]);
NSLog(@"unpacked int: %@", [[packedInt messagePackParse] description]);

As you can see, message pack corrupt this big number, because signed/unsgined checks are fault.

I am fixed this trouble, now unsigned numbers packing works fine :)

--
Best Regards, Orlov Alexander