Skip to content

Commit 1f386e9

Browse files
authored
Fix method name encoder.fromBase64 in example code (#3246)
1 parent e547c2a commit 1f386e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/modules/encoder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Decodes a Base64 representation of a (binary) Lua string back into the original
2929
thrown if the string is not a valid base64 encoding.
3030

3131
#### Syntax
32-
`binary_string = encoder.toBase64(b64)`
32+
`binary_string = encoder.fromBase64(b64)`
3333

3434
#### Parameters
3535
`b64` Base64 encoded input string

0 commit comments

Comments
 (0)