Description
Python example under subsection Byte arrays of Encoding and Decoding page is not showing the correct code at: https://dev.algorand.co/concepts/smart-contracts/storage/encoding-decoding/#byte-arrays
Steps to Reproduce
- Go to https://dev.algorand.co/concepts/smart-contracts/storage/encoding-decoding/#byte-arrays
- Select Python
Expected Behavior
Likely the example should be:
encoded_str = "SGksIEknbSBkZWNvZGVkIGZyb20gYmFzZTY0"
decoded_str = base64.b64decode(encoded_str).decode("utf-8")
print(decoded_str)
from https://github.com/algorand/py-algorand-sdk/blob/examples/examples/codec.py#L24-L27
Screenshots
Device Info
Independent of device
Additional Context
No response