in reply to Re^3: Add 1 to an arbitrary-length binary string
in thread Add 1 to an arbitrary-length binary string
Shouldn't "61FF" + 1 = "61FG" ?
In short, the string "\x61\xFF" gets incremented to "\x62\x00" ... which seems a reasonable way to do it.
Perhaps this is already clear (either implicitly or explicitly) from what others have provided to this thread.
Cheers,
Rob