- SChunk.get_slice(start=0, stop=None, out=None)#
start¶ (int) – The index where the slice will begin. Default is 0.
stop¶ (int) – The index where the slice will end (without including it). Default is until the SChunk ends.
out¶ (bytes-like object or bytearray) – The destination object (supporting the Buffer Protocol) to fill. The user must make sure that it has enough capacity for hosting the decompressed data. Default is None, meaning that a new bytes object is created, filled and returned.
- Return type:
str/bytes or None