Closed rohitdrish closed 1 year ago
Please collect logs at the debug level and attach to this issue. 0x1e
is a record separator. TBH, I am not sure how this code can work without it.
Also, what is your scenario? 2MB feels like a lot for a message.
Closing as requested information has not been provided.
Not able to parse received data request if incoming data size is more than 2 mb.
Error message : input message size 2927303 exceeds maximum message size 1048576
if let idx = data.firstIndex(where: {$0 == 0x1e}) After commenting above line I am able to parse received data but I am not able to understand above code.