//
//  XTConverter.h
//  TadsTerp
//
//  Created by Rune Berg on 03/04/14.
//  Copyright (c) 2014 Rune Berg. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface XTConverter : NSObject

+ (instancetype)converter;

- (BOOL)toUInteger:(NSString *)s uinteger:(NSUInteger *)uinteger;

- (BOOL)hexToUInteger:(NSString *)s uinteger:(NSUInteger *)uinteger;

- (BOOL)toInteger:(NSString *)s integer:(NSInteger *)integer;

- (BOOL)toIntegerWithOptionalSuffix:(NSString *)s integer:(NSInteger *)integer;

@end
