SChunk.update_chunk#

SChunk.update_chunk(nchunk, chunk)#

Update an existing chunk in the SChunk.

Parameters:
  • nchunk (int) – The position identifying the chunk that will be updated.

  • chunk (bytes object) – The new compressed chunk that will replace the content of the old one.

Returns:

out – The number of chunks in the SChunk.

Return type:

int

Raises:

RunTimeError – If some problem was detected.