Basic Encoding Rules: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 148:
===== Esempio 2 di Codifica di L in ''definite form'' =====
''V'' è codificato su 1000 bytes.</br> Poichè <math>1000>127</math> deve essere quindi usata la ''long definite form''</br>Quindi:
#<math>Len(V)= 1000_101000_{10} = 0x3E8 = 0x03E8</math>
#<math>Len(Len(V)) = 2_{10} = 0x02</math>
#<math>''byte 1 di L '' <math>= Len(Len(V)) + 0x81 = 0x83 = 10000011_2</math>
#<math>''bytes 2,3 di L '' <math>= Len(V) = 0x03E8</math></br>
In definitiva:<math>L = 0x8303E8</math> ed è di <math>Len(Len(V)) + 1 = 2 + 1 = 3 bytes</math>