This is a rather hypothetical question, so please don't ask me why I'd want to do this.
Assuming that I have a variable GIF that contains binary data, and assuming that I cannot use the pipe | operator, the following should be the correct way to use 'triple-less-than' operator:
openssl enc -base64 <<< $GIF
However, it appears to me that <<< is not binary-safe and therefore the binary data gets corrupt.
Is there a binary-safe equivalent?