mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-16 20:52:57 +08:00
Fix method name encoder.fromBase64 in example code (#3246)
This commit is contained in:
parent
e547c2a094
commit
1f386e931d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user