ARTVCDiffDecoder
Objective-C
@protocol ARTVCDiffDecoder
Swift
protocol ARTVCDiffDecoder
Enables vcdiff encoded messages to be decoded.
-
Decodes
vcdiffencoded messages.Declaration
Objective-C
- (nullable NSData *)decode:(nonnull NSData *)delta base:(nonnull NSData *)base error:(NSError *_Nullable *_Nullable)errorPtr;Swift
func decode(_ delta: Data, base: Data) throws -> DataParameters
deltaThe delta encoded data.
baseThe stored base payload of the last message on a channel.
errorPtrA reference to the
NSErrorobject where an error information will be saved in case of failure.Return Value
The decoded data.
ARTVCDiffDecoder Protocol Reference