组件的功能通常围绕着两个动作:解码和编码数据。
Component functionality typically centers around two actions: decoding and encoding data.
使用直接实现方式,组件自己实现解码和编码。
With a direct implementation approach, the component itself implements decoding and encoding.
使用委托实现方式,组件委托渲染器进行编码和解码。
With a delegated implementation approach, the component delegates to a renderer that does the encoding and decoding.
Field组件做的编码比解码多得多,所以它的渲染器有许多编码方法,而只有一个解码方法。
The Field component does a lot more encoding than decoding, so its renderer has many encoding methods but just one decoding method. In Listing 8 you can see the Field component's renderer
监测中心的短信组件实现了串口的初始化、短信的USC2编码与解码、短信的发送与接收等功能。
Monitor center use SMS subassembly, which realize serial initialization, USC2 coding and decoding, sending and receiving short message etc.
因此,系统以漫游数据处理和编解码模块为核心,它由漫游数据处理、ASN.1编码、ASN . 1解码组件三个部分组成。
Therefore, Therefore, to the roaming data processing system and the figure for core modules, by roaming data processing, ASN. 1 encoding and decoding ASN. 1 component of three parts.
因此,系统以漫游数据处理和编解码模块为核心,它由漫游数据处理、ASN.1编码、ASN . 1解码组件三个部分组成。
Therefore, Therefore, to the roaming data processing system and the figure for core modules, by roaming data processing, ASN. 1 encoding and decoding ASN. 1 component of three parts.
应用推荐