function encodeBytes(input) {
  return base64.encodeByteArray(input, base64.Alphabet.WEBSAFE_DOT_PADDING);
}
Encodes input with base64 encoding.
@param {!Array<number>} input The input bytes
@return {string} The encoded string