mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-06-08 15:23:59 +02:00
4647310322
Based on Swiftgram 12.5 (Telegram iOS 12.5). All GLEGram features ported and organized in GLEGram/ folder. Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass, Font Replacement, Fake Profile, Chat Export, Plugin System, and more. See CHANGELOG_12.5.md for full details.
23 lines
783 B
Objective-C
23 lines
783 B
Objective-C
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface NSInputStream (TL)
|
|
|
|
- (int32_t)readInt32;
|
|
- (int32_t)readInt32:(bool *)failed __attribute__((nonnull(1)));
|
|
- (int64_t)readInt64;
|
|
- (int64_t)readInt64:(bool *)failed __attribute__((nonnull(1)));
|
|
- (double)readDouble;
|
|
- (double)readDouble:(bool *)failed __attribute__((nonnull(1)));
|
|
- (NSData *)readData:(int)length;
|
|
- (NSData *)readData:(int)length failed:(bool *)failed __attribute__((nonnull(2)));
|
|
- (NSMutableData *)readMutableData:(int)length;
|
|
- (NSMutableData *)readMutableData:(int)length failed:(bool *)failed __attribute__((nonnull(2)));
|
|
- (NSString *)readString;
|
|
- (NSString *)readString:(bool *)failed __attribute__((nonnull(1)));
|
|
- (NSData *)readBytes;
|
|
- (NSData *)readBytes:(bool *)failed __attribute__((nonnull(1)));
|
|
|
|
@end
|