code: function tryParseBase64ToBytes(b64Str) {
      let decodedStr;
  
      try {
        decodedStr = atob(b64Str);
      } catch (e) {
        return null;
      }
  
      return Uint8Array.from(decodedStr, c => c.charCodeAt(0));
    }
docs: Parses a base64 encoded string to a Uint8Array of bytes.