abi.encode: each value checked against its type, then heads, then the tails they point into.
abi.encode
abi.encode(values...)