blosc2.schunk.Meta.__setitem__#

Meta.__setitem__(key: str, value: bytes) None#

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 change, otherwise an exception will be raised.