Skip to content

Conversation

@Abestanis
Copy link
Contributor

Fixes #24 by returning the frame location when decoding a frame. Also added a small helper function on the FrameLocation to calculate the end byte, since this will be useful when splitting the remaining unparsed bytes from the input buffer.

I also noticed that FrameLocation was duplicated, so I merged them together and moved FrameLocation to the frame module, I hope that's ok.

@flosse flosse merged commit 541c25a into slowtec:master Oct 3, 2025
4 checks passed
@Abestanis Abestanis deleted the feature/decode_frame_location branch October 3, 2025 16:17
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.

decode_ functions don't provide the number of bytes used.

2 participants