因为实例子类化(instance subclassing)发生在窗口被创建后,子类化窗口的程序不能向该窗口增加任何额外字节(extra bytes)。程序应该将需要存储的数据放在被子类化的窗口的属性列表中(property list)。
基于16个网页-相关网页
window extra bytes 视窗额外位元组
For instance, if you pass a 32-bit value to a function expecting a 16-bit value, and the value is in range, the function may never notice the extra bytes.
举例来说,如果您将一个32位的值传递给一个期望16位值的函数,而且所传递的参数值也在正确范围之内,那么这个函数就永远不会注意到多出来的字节。
When you look closer, hard disks actually include a great deal of extra data in between sectors. These extra bytes are used by the disk's firmware to detect and correct errors within each sector.
仔细查看,就会发现硬盘事实上在扇区之间包括大量额外数据,这些额外字节由磁盘固件使用,以检测和纠正每个扇区内的错误。
For each messages 4 extra bytes are needed to store the message length information.
对于每个消息,需要4个额外的字节来保存消息的长度信息。
应用推荐