//
//  YCKRaptor.h
//  YCKSdwan
//
//  Created by 徐家骏 on 2019/5/20.
//  Copyright © 2019 徐家骏. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YCKRaptorPacket.h"

NS_ASSUME_NONNULL_BEGIN

@interface YCKRaptor : NSObject

+ (NSArray *)encode:(NSData *)data withSymbolSize:(int)size andRepairRate:(int)rate;
+ (NSData *)decode:(NSArray *)packets;

@end


NS_ASSUME_NONNULL_END
