Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (20 sloc) 465 Bytes
//
// YKEncoder.h
// YAMLKit
//
// Created by Patrick Thomson on 12/29/08.
//
#import <Foundation/Foundation.h>
#import "yaml.h"
@interface YKEmitter : NSObject {
yaml_emitter_t emitter;
NSMutableData *buffer;
BOOL usesExplicitDelimiters;
NSStringEncoding encoding;
}
- (void)emitItem:(id)item;
- (NSString *)emittedString;
- (NSData *)emittedData;
@property(assign) BOOL usesExplicitDelimiters;
@property(assign) NSStringEncoding encoding;
@end