Reads decompressed length from src and returns it.
Throws an error if the length is too large or the input is corrupted.
Reads decompressed length from src and returns it.
Throws an error if the length is too large or the input is corrupted.