Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (17 sloc) 0.423 kb
//
// HexNumberFormatter.m
// ASN.1 Dump
//
// Created by Chris on 09/08/2008.
// Copyright 2008-2012 Chris Ridd. All rights reserved.
//
#import "HexNumberFormatter.h"
@implementation HexNumberFormatter
- (NSString *)stringForObjectValue:(id)anObject
{
if (![anObject isKindOfClass:[NSNumber class]]) {
return nil;
}
return [NSString stringWithFormat:@"%08lx", [anObject integerValue]];
}
@end
Jump to Line
Something went wrong with that request. Please try again.