blosc2.schunk.Meta.__setitem__#

Meta.__setitem__(key, value)#

Update the key metalayer with value.

Parameters:
  • key (str) – The name of the metalayer to update.

  • value (bytes) –

    The buffer containing the new content for the metalayer.

    ..warning: Note that the length of the metalayer cannot not change, else an exception will be raised.