HexToString functionality #2
Replies: 4 comments 2 replies
-
I have already fixed the issue raised in |
Beta Was this translation helpful? Give feedback.
-
I agree. I think this should apply to all the delimited parts as well. Meaning no separators should be allowed. It should also be the user's responsability to make sure each part has full bytes and so separators should be removed entirely. This would also mean that The benefits would include:
|
Beta Was this translation helpful? Give feedback.
-
|
Unrelated with the functionality discussion above, we can implement the same performance approach like in #3 |
Beta Was this translation helpful? Give feedback.
-
|
Dealt with in 6a4719e |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am a bit confused about the purpose of having separators allowed in HexToString.
For example
HexToString("0xA A A A A")seems to be turned into0aa0aa0aand gets converted to string.However,
HexToString("0xA A A")seems to be turned into0aa0aand raises a 'length is not even' error although both this and the above example have an odd number ofAcharacters.Questions:
0xA A A A Aturned into0a0a0a0a0a?&H0A0Bgets turned into&HA0Bby the IDE. Should this function allow a hex like0xA0Band view it as0x0A0B?. Currently,HexToString("0xA0B")is seen as invalid butHexToString("0xA 0B")is seen as0a0b.0xallowed everywhere? Currently it gets replaced regardless of position like inHexToString("0xA 0xB")which is also seen as0a0b. Should it be allowed only as first 2 characters on the left?&Hbe allowed instead of0x?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions