I'd use a 4 Byte String and vec.
In reply to Re: 5x6-bit values into/out of a 32-bit word by Skeeve in thread 5x6-bit values into/out of a 32-bit word by BrowserUk