in reply to perl pack/unpack optional variable length data
Use length-item/sequence-item, as described in pack.