I don’t remember the first time I saw this word but I suspect the word multiplex is not the proper one. How would you name this:
Shot name is multiplexed as 15:17, where:
* The first 15 bits stores the sequence number.
* The last 17 bits stores the shot number.
Thanks in advance!
EDIT: Thanks all! So it seems packed is the proper word. With pack/unpack being the name of the process.
I’d use ‘encoded as 15:17’, or ‘packed’ is fine here as well.
I’d also recommend being explicit about which 15 and 17 bits are used rather than using ‘first’ and ‘last’, because that may mean different things depending on the platform endianness. You could say ‘Bits 0:14 store the sequence number, while bits 15:31 store the shot number’. That makes it far easier to reason about how to access each piece of data in the combined 32 bits.