CGX: Binary Encoding BE
Hello future Hackers,
We hope you know binary now. But do you really?
Your task is easy Just convert a stream of zeroes and ones to ASCII, but it is big endian now.
Greetings
- gizmore and x
Проблема CGX#16
В этом уроке есть интерактивная задача:
101000101010001011001010011000100100101001001010001100101011001000100010101000101000001011100010
Проблема генерируется случайным образом и привязана к вашему сеансу.
Удачи!
Команда WeChall
# CGX#16: Big Endian
Everything is binary; just 0 and 1.
But, it is a matter of taste if the
[ISA](https://en.wikipedia.org/wiki/Instruction_set_architecture)
on your CPU has an
[endianness](https://en.wikipedia.org/wiki/Endianness)
of
LE(LittleEndian)
or
BE(BigEndian).
----
Imagine a nibble (4 bits) in LE and BE.
8421 (LE values of bits)
0001 == 1 (LittleEndian)
1248 (BE values of bits)
0001 = 8 (BigEndian)