Implement support for the 'T' type in packb()