Skip to content

fix: correctly pass lengthInBytes to all typed data view conversions - #300

Merged
nmfisher merged 2 commits into
developfrom
fix/typed-data-view
Sep 2, 2026
Merged

fix: correctly pass lengthInBytes to all typed data view conversions#300
nmfisher merged 2 commits into
developfrom
fix/typed-data-view

Conversation

@nmfisher

@nmfisher nmfisher commented Sep 1, 2026

Copy link
Copy Markdown
Owner

We weren't correctly passing lengthInBytes when calling typed-data view converters like asUint8List(offset, lengthInBytes) etc, so the returned view may have an incorrect length. This could cause intermittent crashes when uploading buffers.

@nmfisher nmfisher changed the title fix: preserve typed data view bounds in FFI uploads fix: correctly pass lengthInBytes to all typed data view conversions Sep 2, 2026
@nmfisher
nmfisher merged commit d8e2c4b into develop Sep 2, 2026
13 of 14 checks passed
@nmfisher
nmfisher deleted the fix/typed-data-view branch September 2, 2026 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant