SR: use macros to compute our base64 encoded length
Ticket legacy/trac#19531 (moved) once done should be adding some macros to compute the length of encoded base64 string.
Let's use them for these in
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information