mirror of
https://github.com/danog/Telegram.git
synced 2024-12-12 09:29:55 +01:00
16 lines
351 B
C
16 lines
351 B
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;
|
||
|
|
||
|
@end
|