FMLiveSwitchSctpPacket Class Reference

Instance Methods

(NSMutableArray *) - chunks
 
(NSMutableData *) - getBytes
 
(FMLiveSwitchSctpCommonHeader *) - header
 
(instancetype) - initWithHeader:chunks:
 
(void) - setChunks:
 
(void) - setHeader:
 
(NSMutableArray *) - unrecognizedChunksThatShouldBeReportedToSender
 

Class Methods

(long long) + computeCRC32cForSCTPWithBytes:offset:len:
 
(FMLiveSwitchSctpPacket *) + packetWithHeader:chunks:
 
(FMLiveSwitchSctpPacket *) + parseBytes:
 
(FMLiveSwitchSctpPacket *) + parseBytes:startIndex:length:
 
(bool) + verifyCRC32cChecksumWithSctpBytes:offset:len:
 

Method Documentation

◆ chunks

- (NSMutableArray*) chunks

◆ computeCRC32cForSCTPWithBytes:offset:len:

+ (long long) computeCRC32cForSCTPWithBytes: (NSMutableData *)  bytes
offset: (int)  offset
len: (int)  len 

◆ getBytes

- (NSMutableData*) getBytes

◆ header

◆ initWithHeader:chunks:

- (instancetype) initWithHeader: (FMLiveSwitchSctpCommonHeader *)  header
chunks: (NSMutableArray *)  chunks 

◆ packetWithHeader:chunks:

+ (FMLiveSwitchSctpPacket*) packetWithHeader: (FMLiveSwitchSctpCommonHeader *)  header
chunks: (NSMutableArray *)  chunks 

◆ parseBytes:

+ (FMLiveSwitchSctpPacket*) parseBytes: (NSMutableData *)  value

◆ parseBytes:startIndex:length:

+ (FMLiveSwitchSctpPacket*) parseBytes: (NSMutableData *)  value
startIndex: (int)  startIndex
length: (int)  length 

◆ setChunks:

- (void) setChunks: (NSMutableArray *)  value

◆ setHeader:

- (void) setHeader: (FMLiveSwitchSctpCommonHeader *)  value

◆ unrecognizedChunksThatShouldBeReportedToSender

- (NSMutableArray*) unrecognizedChunksThatShouldBeReportedToSender

◆ verifyCRC32cChecksumWithSctpBytes:offset:len:

+ (bool) verifyCRC32cChecksumWithSctpBytes: (NSMutableData *)  sctpBytes
offset: (int)  offset
len: (int)  len