code: def append(self, data, size):
          
          return lib.zchunk_append(self._as_parameter_, data, size)
docs: Append user-supplied data to chunk, return resulting chunk size. If the
  data would exceeded the available space, it is truncated. If you want to
  grow the chunk to accommodate new data, use the zchunk_extend method.