code: def set(self, data, size):
          
          return lib.zchunk_set(self._as_parameter_, data, size)
docs: Set chunk data from user-supplied data; truncate if too large. Data may
  be null. Returns actual size of chunk