mirror of
https://github.com/danog/Telegram.git
synced 2024-12-03 09:57:46 +01:00
18 lines
372 B
Objective-C
18 lines
372 B
Objective-C
#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;
|
|
|
|
- (NSString *)path;
|
|
|
|
@end
|