注意在J2ME中一个整数是4字节数据,而单字节长度表示法只需要1个字节。
Note that an integer in J2ME is 4 bytes of data, while single-byte length notation needs only 1 byte.
回想一下在本系列的第一篇文章中对表2的讨论,有两种表示字节长度的方法:单字节表示法和多字节表示法。
Recall from the discussion of Table 2 in the first article of this series that there are two ways of representing length bytes: single-byte length notation and multi-byte length notation.
如果是,就需要使用单字节长度表示法。
应用推荐