<script type="text/x-red" data-help-name="base64"> <p>A function that converts the chosen property (default <code>msg.payload</code>) to and from base64 format.</p> <p>If the input is a buffer it converts it to a Base64 encoded string.</p> <p>If the input is a Base64 string it converts it back to a binary buffer.</p> <p>You can also fix coding into base64, and base64 to buffer if required.</p> <p>Note: Using "Encode to Base64" will encode an already encoded string.</p> </script>