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

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

NS_ASSUME_NONNULL_BEGIN

@interface NXRaptor : NSObject

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

@end


NS_ASSUME_NONNULL_END
