Decimal
Wikipedia wrote:
Decimal notation is the writing of numbers in the base 10 numeral system, which uses various symbols (called digits) for no more than ten distinct values (0, 1, 2, 3, 4, 5, 6, 7, 8 and 9) to represent any numbers, no matter how large or how small.
Hexadecimal
Wikipedia wrote:
In mathematics and computer science, hexadecimal (also base-16, hexa, or hex) is a numeral system with a radix, or base, of 16. It uses sixteen distinct symbols, most often the symbols 0–9 to represent values zero to nine, and A, B, C, D, E, F (or a through f) to represent values ten to fifteen.
example decimal and hexadecimal numeral;
Decimal = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, etc.
Hexadecimal = 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, 0A, 0B, 0C, 0D, 0E, 0F, etc.
Complete about decimal and hexa decimal click here
Images File Format
Every file format has header or or beginning part a save information about that file. Images file also has header. From this header we can know what is images format. On this modification we will used two header image format, that is png and jpg. we need know Start of Image/SOI and End of Image/EOI images files.
Format PNG
SOI = 89 50, EOI = 60 82
Format JPG
SOI = FF D8, EOI = FF D9
But not all FF D8 extention is jpg file. For certinly see Part ASCII what there JFIF text.
See screenshoot

Mig33 Packet
02 03 E8 00 00 00 00 00 0F 00 88 00 00 00 04 00 00 38 4B 01 0F 76 75 67
02 represent 1 byte, same with 03 E8 00 and other hexa. First byte is 02, second byte is 03, third byte is E8 etc.See this 02 03 E8 00 00 00 00 00 0F that 9 first bytes called as mig33 header packet. And this 00 00 00 0F that byte to 6 - 9 showing all length packet, caounted from to byte 10, that is 00, until latest byte.
Top packet all length 00 00 00 0F. what decimal number? the result is 15 or all packet is 15 bytes. Grand Total 15 + 9 = 24 bytes. 9 that header byte.
0 komentar
Post a Comment