Parameterizing a Class With run-time variable?

In reply to dave_59:

Hello Dave !

a. Main plan is to generate pkt of data [variable size] with variable size fields.
b. And feed into the DUT with a bus width of 16 bits - so 4 times for 64bit data.

So was checking way to get pkt of such configuration.