(self, last_var_id, var_id, var_type)
| 1000 | c.append(v) |
| 1001 | |
| 1002 | def write_tag(self, last_var_id, var_id, var_type): |
| 1003 | delta_id = var_id - last_var_id |
| 1004 | if delta_id < 0xf: |
| 1005 | self.write_byte((delta_id << ByteBuffer.TAG_SHIFT) + var_type) |
| 1006 | else: |
| 1007 | self.write_byte(0xf0 + var_type) |
| 1008 | self.write_uint(delta_id - 0xf) |
| 1009 | return var_id |
| 1010 | |
| 1011 | def write_list_type(self, list_size, elem_type): |
| 1012 | if list_size < 0xf: |
no test coverage detected