divan / txqr-reader

TXQR (Animated QR data transfer) demo reader app for iOS
97 stars 18 forks source link

panic: runtime error: slice bounds out of range #4

Open yjgs opened 5 years ago

yjgs commented 5 years ago

I downloaded the program to run in ios12. The following error occurred when scanning the dynamic QR code. How to solve it? panic: runtime error: slice bounds out of range

The error occurred in this line: try decoder?.decodeChunk(str)

liwenkui commented 5 years ago

the txqr.framework project using is not LT-code implementation.i switch to the LT-code implementation,sometimes it's working but sometimes facing with memory crash problem.