Encoding/decoding logic for wide create(d) and extend(ed) cells
To implement prop249, we'll need a way to encode and decode wide create and extend cells.