1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 09:27:55 +01:00
Telegram/legacy/TL/TGZeroOutputStream.m
2015-10-01 19:19:52 +03:00

14 lines
255 B
Objective-C

#import "TGZeroOutputStream.h"
@implementation TGZeroOutputStream
@synthesize currentLength = _currentLength;
- (NSInteger)write:(const uint8_t *)__unused buffer maxLength:(NSUInteger)len
{
_currentLength += len;
return (NSInteger)len;
}
@end