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