justkawal / excel

Excel Library for Flutter and Dart - https://pub.dev/packages/excel
MIT License
416 stars 229 forks source link

Excel.decodeBytes -> Bad State too many elements #334

Open dragonfire1975 opened 6 months ago

dragonfire1975 commented 6 months ago

I try to open a excel file, but i got Bad State too many elements. If i try to open same excel file with less rows it works. What is the limit and is there a way to handle bigger files?

Here the debug fault message

buffer: _ByteBuffer elementSizeInBytes: 1 first: 80 hashCode: 844367721 isEmpty: false isNotEmpty: true iterator: _TypedListIterator (Instance of '_TypedListIterator') last: 0 length: 189906 lengthInBytes: 189906 offsetInBytes: 0 reversed: ReversedListIterable ((0, 0, 0, 2, 226, 181, 0, 0, 3, 7, 0, 12, 0, 12, 0, 0, 0, 0, 6, 5, 75, 80, ...)) runtimeType: Type (_Uint8ArrayView) single: