1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-02 17:38:07 +01:00
Telegram/legacy/TL/TGZeroOutputStream.m

14 lines
255 B
Mathematica
Raw Normal View History

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