Skip to content

fix "from_buffer_copy" byte values format#1

Open
latchdevel wants to merge 1 commit intoronyb29:masterfrom
latchdevel:fix_usage
Open

fix "from_buffer_copy" byte values format#1
latchdevel wants to merge 1 commit intoronyb29:masterfrom
latchdevel:fix_usage

Conversation

@latchdevel
Copy link

Hi Rony.

Thank you very much for sharing your work.

I have tried to use this module, but usage example doesn't work correctly.
The problem seems to be in the "from_buffer_copy" method inherited from the "BigEndianStructure" class, which expects a bytes object as hex, not as str.

I make this pull request in case you consider it appropriate to modify it.

Anyway, I have made an alternate, simpler raw implementation.
https://github.com/latchdevel/AN575

I hope you find it useful.
Best regards.
Jorge Rivera.

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