about Bytes Stream

Started by habi, Jun 14, 2020, 05:03 AM

Previous topic - Next topic

... 0x08, 0x09. What is next?

0x10
1 (20%)
0x07
0 (0%)
"10"
0 (0%)
'10'
0 (0%)
None of these
4 (80%)

Total Members Voted: 0

Voting closed: Jun 24, 2020, 05:03 AM

habi

We client script and use stream to pass data. So a quick question.
Especially in blank server, store/main.nut we make something like following,

I used to think how far we can go on numbering. All about the answer flashed to me yesterday, while working with some streams.

I will tell after poll is finished

NicusorN5

It is:
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0A
0x0B
0x0C
0x0D
0x0E
0x0F

0x10

habi

yes
Not only that,  the 0x0a = = 0xa, i checked.
Also, if we number them as integers like 1,  2,  3...255 the effect is same. We can go upto 255

DizzasTeR

0x0a = 0xa because 01 = 1