bytes->decodeBase64
Decodes Base64 bytes.
Target
Signature
1bytes->decodeBase64()Decodes Base64 bytes.
bytes->decodeBase64 is called with member syntax on a receiver value. bytes->decodeBase64 works with binary values. Convert strings to bytes before byte-level hashing or encoding, then convert back to a string only for display or transport.
Examples
Basic call
1bytes('c2VjcmV0')->decodeBase64->asStringThe example keeps binary work on bytes and converts only when text output is needed.