mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
14 lines
255 B
Objective-C
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
|