Some syntactic sugar for asn1
I'll push this onto a fork eventually but for now it's just a self-contained file. To use it just import the stuff as needed
License is MIT
asn1
I'll push this onto a fork eventually but for now it's just a self-contained file. To use it just import the stuff as needed
License is MIT
#!/usr/bin/env python3 | |
import ctypes | |
LC_SYMTAB = 0x2 | |
class mach_header_64(ctypes.Structure): | |
_fields_ = ( | |
("magic", ctypes.c_uint32), | |
("cputype", ctypes.c_uint32), |
#import <Foundation/Foundation.h> | |
@interface PTDIntelHex : NSObject | |
@property (nonatomic, strong) NSString* name; | |
+ (PTDIntelHex*)intelHexFromHexString:(NSString*)hexString; | |
+ (PTDIntelHex*)intelHexFromFileURL:(NSURL*)file; | |
- (id)initWithHexString:(NSString*)hexString; |