示例#1
0
 def end_of(self, buf, offset, data_size, ptrs_size):
     buf = Segment(buf)
     p = ptr.new_struct(0, data_size, ptrs_size)
     return end_of(buf, p, offset - 8)
示例#2
0
 def _get_end(self):
     p = ptr.new_list(0, self._size_tag, self._item_count)
     return end_of(self._seg, p, self._offset - 8)
示例#3
0
 def _get_end(self):
     p = ptr.new_struct(0, self._data_size, self._ptrs_size)
     return end_of(self._seg, p, self._data_offset - 8)
示例#4
0
 def end_of(self, buf, offset, data_size, ptrs_size):
     buf = CapnpBuffer(buf)
     p = ptr.new_struct(0, data_size, ptrs_size)
     return end_of(buf, p, offset - 8)