onBinaryData (event)
Passes a received chunk of binary data to the application.
Syntax
- (void)onBinaryData:(long long)connectionID :(NSData*)buffer :(BOOL)last;
func onBinaryData(_ connectionID: Int64, _ buffer: Data, _ last: Bool)
Remarks
The class fires this event repeatedly to pass incoming pieces of binary data to the application. The Last parameter indicates that this is the last chunk.