Is there a spec for compound columns?

I want to know the exact format of compound columns so I can adhere to it. For example, what is the separator - or is some other format used (e.g. length:value or type:length:value)?