Error position in decimal instead of hex #296
Replies: 3 comments
-
I interpreted the output wrong sorry for that! |
Beta Was this translation helpful? Give feedback.
-
Ok sorry. 0x10 really is the error position. Here is a more complete output
I would like to have an output like |
Beta Was this translation helpful? Give feedback.
-
binrw errors are structured, so you can walk them yourself and print error messages however you want. There is no way to change just the format of the stream position in the included implementations of |
Beta Was this translation helpful? Give feedback.
-
Hi there! Is there a specific reason why the position of the error is printed as hex?
Example output here:
I wonder how I could change this to print in decimal (so 10 instead of 0xa)?
Greetings and thanks, Christian
Beta Was this translation helpful? Give feedback.
All reactions