瀏覽代碼

Modified description of ToBase64 operation

Addresses #472
Callum Fraser 6 年之前
父節點
當前提交
4d8127a7d9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/operations/ToBase64.mjs

+ 1 - 1
src/core/operations/ToBase64.mjs

@@ -20,7 +20,7 @@ class ToBase64 extends Operation {
 
 
         this.name = "To Base64";
         this.name = "To Base64";
         this.module = "Default";
         this.module = "Default";
-        this.description = "Base64 is a notation for encoding arbitrary byte data using a restricted set of symbols that can be conveniently used by humans and processed by computers.<br><br>This operation decodes data from an ASCII Base64 string back into its raw format.<br><br>e.g. <code>aGVsbG8=</code> becomes <code>hello</code>";
+        this.description = "Base64 is a notation for encoding arbitrary byte data using a restricted set of symbols that can be conveniently used by humans and processed by computers.<br><br>This operation encodes raw data into an ASCII Base64 string.<br><br>e.g. <code>hello</code> becomes <code>aGVsbG8=</code>";
         this.infoURL = "https://wikipedia.org/wiki/Base64";
         this.infoURL = "https://wikipedia.org/wiki/Base64";
         this.inputType = "ArrayBuffer";
         this.inputType = "ArrayBuffer";
         this.outputType = "string";
         this.outputType = "string";