blosc2.set_blocksize#

blosc2.set_blocksize(blocksize: int = 0) None#

Force the use of a specific blocksize.

Parameters:

blocksize (int) – The blocksize to use. If 0, an automatic blocksize will be used (the default).

Returns:

out

Return type:

None

Notes

This is a low-level function and is recommended for expert users only.

Examples

>>> blosc2.set_blocksize(512)
>>> blosc2.set_blocksize(0)