1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-12 09:29:55 +01:00
Telegram/Telegraph/TGDataItem.h

16 lines
351 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import <Foundation/Foundation.h>
@interface TGDataItem : NSObject
- (instancetype)initWithTempFile;
- (instancetype)initWithFilePath:(NSString *)filePath;
- (void)moveToPath:(NSString *)path;
- (void)remove;
- (void)appendData:(NSData *)data;
- (NSData *)readDataAtOffset:(NSUInteger)offset length:(NSUInteger)length;
- (NSUInteger)length;
@end