Skip to content

Conversation

@dgburr
Copy link
Contributor

@dgburr dgburr commented Oct 24, 2025

Description

Add support for version 0.11 of the kaitaistruct python runtime. Starting from v0.11, KaitaiStream::size() calls seek() with whence=SEEK_END to determine the amount of remaining data.

This PR rolls back the changes from #1499 and updates the implementation of BufferKaitaiStruct::IOBytes::seek() to support the whence argument.

API compatibility

Does this change introduce a API compatibility risk?

This change is compatible with kaitaistruct python runtime v0.10 and v0.11.

API compatibility plan

If the above is "Yes", please detail the compatibility (or migration) plan:

N/A

JIRA Reference

https://swift-nav.atlassian.net/browse/BOARD-XXXX

@dgburr dgburr requested a review from a team as a code owner October 24, 2025 11:49
@sonarqubecloud
Copy link

@dgburr dgburr merged commit 76041e5 into master Oct 24, 2025
8 checks passed
@dgburr dgburr deleted the kaitaistruct-0.11 branch October 24, 2025 16:34
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.

3 participants