blosc2.get_cbuffer_sizes#
- blosc2.get_cbuffer_sizes(src)#
Get the sizes of a compressed src buffer.
- Parameters:
src¶ (bytes-like object) – A compressed buffer. Must be a bytes-like object that supports the Python Buffer Protocol, like bytes, bytearray, memoryview, or numpy.ndarray.
- Returns:
(nbytes, cbytes, blocksize) – A tuple with the nbytes, cbytes and blocksize for the src compressed buffer.
- Return type:
tuple