Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
IT Security NachrichtenAnthropic-Chef warnt vor KI-Botnetz-Übernahme(21.09.2026 um 08:06 Uhr)
IT Security NachrichtenVor Gipfeltreffen: China und USA tauschen sich zu KI aus(21.09.2026 um 08:18 Uhr)
IT Security NachrichtenHacker stiehlt Daten von Studierenden der Münchner LMU(21.09.2026 um 08:34 Uhr)
IT Security NachrichtenNeue Schutzfunktionen in Microsoft Teams(21.09.2026 um 09:41 Uhr)
IT Security DownloadsSublime Text Download - Beliebter Texteditor(21.09.2026 um 09:12 Uhr)
IT Security DownloadsMaxthon Portable - Kostenloser Web-Browser mit Cloud-Anbindung(21.09.2026 um 09:18 Uhr)
IT Security DownloadsArtMoney Download - Cheat-Programm für Spiele(21.09.2026 um 09:19 Uhr)
IT Security DownloadsNTLite Free Download - Windows-ISO anpassen(21.09.2026 um 09:22 Uhr)
IT Security NachrichtenAnthropic-Chef warnt vor KI-Botnetz-Übernahme(21.09.2026 um 08:06 Uhr)
IT Security NachrichtenVor Gipfeltreffen: China und USA tauschen sich zu KI aus(21.09.2026 um 08:18 Uhr)
IT Security NachrichtenHacker stiehlt Daten von Studierenden der Münchner LMU(21.09.2026 um 08:34 Uhr)
IT Security NachrichtenNeue Schutzfunktionen in Microsoft Teams(21.09.2026 um 09:41 Uhr)
IT Security DownloadsSublime Text Download - Beliebter Texteditor(21.09.2026 um 09:12 Uhr)
IT Security DownloadsMaxthon Portable - Kostenloser Web-Browser mit Cloud-Anbindung(21.09.2026 um 09:18 Uhr)
IT Security DownloadsArtMoney Download - Cheat-Programm für Spiele(21.09.2026 um 09:19 Uhr)
IT Security DownloadsNTLite Free Download - Windows-ISO anpassen(21.09.2026 um 09:22 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Why Your Computer Reads Numbers Backwards: Byte Order Explained

What is Byte Order? Before understanding byte order, we need to understand one thing: A byte = 8 bits Many data types use multiple bytes. For example: Data Type Size char 1 byte short 2 bytes int 4…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

What is Byte Order?



Before understanding byte order, we need to understand one thing:



A byte = 8 bits



Many data types use multiple bytes.




For example:

Data Type Size
char 1 byte
short 2 bytes
int 4 bytes
long long 8 bytes






When a number takes multiple bytes, the computer has to decide:



“In what order should I store these bytes in memory?”



That storage order is called:



Byte Order (Endianness)

1.little order endian

2.big order endian



Most people assume memory stores it like this:



12 34 56 78



But here comes the surprise…



On many computers, it is actually stored like this:



78 56 34 12



Wait… what?



Did the computer reverse the number?



No. Your computer is not confused — this behavior is called Byte Order, also known as Endianness.



In this article, we’ll understand byte order from scratch using diagrams, memory examples, and a practical C program.



*Understanding With an Example

*


Let’s take this hexadecimal number:



0x12345678



This number contains 4 bytes:



12 34 56 78



Now imagine memory locations like this:



Address → 1000 1001 1002 1003



The question is:



Which byte should be placed first?



This is where endianness comes in.



Type 1: Little Endian



In Little Endian, the smallest byte (Least Significant Byte) comes first.



Memory stores:





Address → 1000 1001 1002 1003
Data → 78 56 34 12






Here:




78 is stored first
12 is stored last






This may look backward, but internally it helps processors perform arithmetic efficiently.



Why is it called “Little” Endian?



Because the little end (least significant byte) is stored first.



Type 2: Big Endian



In Big Endian, the largest byte (Most Significant Byte) comes first.



Memory stores:





Address → 1000 1001 1002 1003
Data → 12 34 56 78






This looks more natural because humans usually read numbers from left to right.



Why is it called “Big” Endian?



Because the big end (most significant byte) comes first.



Visual Comparison

Number = 0x12345678





Little Endian
┌───────┬───────┬───────┬───────┐
│ 78 │ 56 │ 34 │ 12 │
└───────┴───────┴───────┴───────┘
1000 1001 1002 1003


Big Endian
┌───────┬───────┬───────┬───────┐
│ 12 │ 34 │ 56 │ 78 │
└───────┴───────┴───────┴───────┘
1000 1001 1002 1003


Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Why Your Computer Reads Numbers Backwards: Byte Order Explained

Thematisch verwandte Begriffe: Your, Computer, Reads, Numbers · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-94030 | A security vulnerability has been detected in SerenityOS up to 3d83e4509…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick