mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-05-21 18:20:41 +00:00
17 lines
404 B
Objective-C
17 lines
404 B
Objective-C
// Sources/SubcodecObjC/include/SCDecoding.h
|
|
#import <Foundation/Foundation.h>
|
|
#import "SCDecodedFrame.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@protocol SCDecoding <NSObject>
|
|
|
|
+ (nullable id<SCDecoding>)createDecoderWithError:(NSError **)error;
|
|
|
|
- (nullable NSArray<SCDecodedFrame *> *)decodeStream:(NSData *)data
|
|
error:(NSError **)error;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|