If trying to slice bytes in memory one gets the error below. The solidity docs give no explanation just state that array slices are only supported for calldata as of now.
TypeError: Index range access is only supported for dynamic calldata arrays.
Does anyone have a good technical reason for this? Thanks