calculator icon indicating copy to clipboard operation
calculator copied to clipboard

Endian Selection In [Programmer Mode]

Open Akarinnnnn opened this issue 3 years ago • 5 comments

Problem Statement Add a "Endian Selection" button, or something else works similar. Sometimes programmers needs to works with different endian like "Big Endian" in UTF-8 and "Little Endian" that how Integers represented on x86 platform.

Evidence or User Insights Help developers like us

Proposal Add a "Endian Selection" button

Goals Users can select which endian to use to interpret these raw bits in integer form

Non-Goals i.d.k. there is just 2 endian on the world.

Low-Fidelity Concept MSPaint drawn Screenshot image

Requested Assignment i.d.k.

I'm just suggesting this idea. I don't want to implement it.

Akarinnnnn avatar Mar 04 '21 15:03 Akarinnnnn

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

MicrosoftIssueBot avatar Mar 04 '21 15:03 MicrosoftIssueBot

This pitch looks like it has everything it needs for review. In the meantime, we'll keep this idea open for discussion so the community has the chance to provide feedback. Check out our New Feedback Process for more info on the user-centered process we follow for new feature development.

ghost avatar Mar 04 '21 21:03 ghost

Implementation Guide
Maybe you can just use a byte_swap(void* begin, void* end) to convert the input to native endian representation.

Goals According to Implementation Guide mentioned,
Add a Native Endian(LE or BE) in the selection list

Akarinnnnn avatar Mar 05 '21 03:03 Akarinnnnn

Just putting in another voice that this would be very helpful!

dbwtx avatar May 25 '23 02:05 dbwtx

Necroing to mention that this would still be helpful.

pokefan548 avatar Dec 09 '23 23:12 pokefan548