Memory vs. Calldata
Discover the similarity and differences between memory and calldata.
We'll cover the following...
This is a short lesson on memory and calldata usage in Solidity. As we know, when we declare reference type variables in Solidity, we specify a storage location for the data. So far, we’ve looked at storage and memory data locations. Now we’ll look at a new one, calldata, in comparison with memory.
What is calldata?
Like memory, ...
Ask