Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0f873f1326
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (14 sloc) 0.864 kb
#import <Foundation/Foundation.h>
@interface NSNumber (XMPP)
+ (NSNumber *)numberWithPtr:(const void *)ptr;
- (id)initWithPtr:(const void *)ptr;
+ (BOOL)parseString:(NSString *)str intoInt32:(int32_t *)pNum;
+ (BOOL)parseString:(NSString *)str intoUInt32:(uint32_t *)pNum;
+ (BOOL)parseString:(NSString *)str intoInt64:(int64_t *)pNum;
+ (BOOL)parseString:(NSString *)str intoUInt64:(uint64_t *)pNum;
+ (BOOL)parseString:(NSString *)str intoNSInteger:(NSInteger *)pNum;
+ (BOOL)parseString:(NSString *)str intoNSUInteger:(NSUInteger *)pNum;
+ (UInt8)extractUInt8FromData:(NSData *)data atOffset:(unsigned int)offset;
+ (UInt16)extractUInt16FromData:(NSData *)data atOffset:(unsigned int)offset andConvertFromNetworkOrder:(BOOL)flag;
+ (UInt32)extractUInt32FromData:(NSData *)data atOffset:(unsigned int)offset andConvertFromNetworkOrder:(BOOL)flag;
@end
Jump to Line
Something went wrong with that request. Please try again.