WAP_WSP的Well-known header

帖子提問的Well-known header   http://bbs.csdn.net/topics/310019042#new_post

定義編碼方案與實際傳輸最高有效位不一樣。詳細基本語法

8.4.2.1  Basic rules的Short-integer

Short-integer = OCTET
; Integers in range 0-127 shall be encoded as a one octet value with the most significant bit set
; to one (1xxx xxxx) and with the value in the remaining least significant bits.

解釋部分,最高有效位要置爲1.而xxxxxxx纔是編碼方案的值


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章