//
//  NSSCanner+MCNetCommAdditions.h
//  Sync
//
//  Created by Mark Onyschuk on 03/12/07.
//  Copyright 2007 Marketcircle Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSScanner (MCNetCommAdditions)

- (BOOL)scanString:(NSString *)aString; // shortcut for scanString:intoString: with a second, NULL argument
- (BOOL)scanIntoString:(NSString **)aString; // shortcut for scanUpToCharactersFromSet:intoString: with the skip set of characters as first argument

+ (NSScanner *)scannerWithData:(NSData *)aData; // UTF8StringEncoding
+ (NSScanner *)scannerWithData:(NSData *)aData encoding:(NSStringEncoding)anEncoding;

@end
