: 6
> Date: Fri, 20 Nov 2009 10:53:35 -0700
> From: Greg Guerin
> Subject: Re: extracting the mantissa for a NSDecimal
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> Tom Bernard wrote:
>
>> NSData *anNSDecimalAsData = [NSData dataWithBytes
On 11/20/2009 10:49 AM, "Jens Alfke" wrote:
>
> On Nov 20, 2009, at 9:53 AM, Greg Guerin wrote:
>
>> The representation stored in the NSData may be endian-sensitive. If
>> the NSDictionary contents might cross architectures, that could be
>> problematic.
>
> s/may be/is/
> s/could be/will be/
On Nov 20, 2009, at 9:53 AM, Greg Guerin wrote:
The representation stored in the NSData may be endian-sensitive. If
the NSDictionary contents might cross architectures, that could be
problematic.
s/may be/is/
s/could be/will be/
NSDecimal is a struct containing multi-byte integers. It is
Tom Bernard wrote:
NSData *anNSDecimalAsData = [NSData dataWithBytes:&anNSDecimal
length:sizeof(NSDecimal)];
gives you an NSData object suitable for an NSDictionary without
having to
muck around with NSDecimal's private fields.
The representation stored in the NSData may be endian-sensiti
ou an NSData object suitable for an NSDictionary without having to
> muck around with NSDecimal's private fields.
>
>
>
> ++ Tom
>
> Tom Bernard
> tombern...@bersearch.com
>
>
>
>
>> --__--__--
>>
>> Message: 11
>> Date: Tue, 29 O
29 Oct 2002 12:37:35 -0600
> Subject: extracting the mantissa for a NSDecimal
> From: Olivier <...>
> To: cocoa apple <...>
>
> i'm trying to save an NSDecimal in a dictionary.
>
> I study the NSDecimal structure and decided that all i really need to
>