Closed eycorsican closed 4 years ago
The root cause of #17 is the codec fails to reserve enough space for the every packet and resulting truncated packets.
The issue also affects Linux, if there's pi, and the remaining space for decoding is less than 4 bytes, InvalidInput error will be returned whenread() on the device.
pi
InvalidInput
read()
That makes a lot more sense, thanks!
The root cause of #17 is the codec fails to reserve enough space for the every packet and resulting truncated packets.