From 1f386e931d844a95f5965c3bd37f5bc26eb61f78 Mon Sep 17 00:00:00 2001 From: "M.K" Date: Sat, 22 Aug 2020 10:30:29 +0200 Subject: [PATCH] Fix method name encoder.fromBase64 in example code (#3246) --- docs/modules/encoder.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/encoder.md b/docs/modules/encoder.md index 59ac3b19..aa3e6f49 100644 --- a/docs/modules/encoder.md +++ b/docs/modules/encoder.md @@ -29,7 +29,7 @@ Decodes a Base64 representation of a (binary) Lua string back into the original thrown if the string is not a valid base64 encoding. #### Syntax -`binary_string = encoder.toBase64(b64)` +`binary_string = encoder.fromBase64(b64)` #### Parameters `b64` Base64 encoded input string