Skip to content

Conversation

kylebarron
Copy link
Member

This should avoid accidentally constructing an AsyncCursor with wrong endianness.

Previously, we constructed the cursor with AsyncCursor::new and then had to remember to call set_endianness. Now we move that logic into the try_open_tiff constructor and make new take an endianness explicitly.

@kylebarron kylebarron merged commit 6c92598 into main Feb 22, 2025
1 check passed
@kylebarron kylebarron deleted the kyle/async-cursor-init branch February 22, 2025 17:23
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