Skip to content

Commit ce08a40

Browse files
committed
Mark decodeBase64 as deprecated
1 parent 00f8a5f commit ce08a40

File tree

1 file changed

+3
-28
lines changed

1 file changed

+3
-28
lines changed

articles/logic-apps/workflow-definition-language-functions-reference.md

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ And returns this result:
10461046

10471047
### base64ToString
10481048

1049-
Return the string version for a base64-encoded string, effectively decoding the base64 string. Use this function rather than [decodeBase64()](#decodeBase64). Although both functions work the same way, `base64ToString()` is preferred.
1049+
Return the string version for a base64-encoded string, effectively decoding the base64 string. Use this function rather than [decodeBase64()](#decodeBase64), which is deprecated.
10501050

10511051
> [!NOTE]
10521052
> Azure Logic Apps automatically performs base64 encoding and decoding,
@@ -1658,34 +1658,9 @@ And returns this result: `74`
16581658

16591659
<a name="decodeBase64"></a>
16601660

1661-
### decodeBase64
1661+
### decodeBase64 (deprecated)
16621662

1663-
Return the string version for a base64-encoded string, effectively decoding the base64 string. Consider using [base64ToString()](#base64ToString) rather than `decodeBase64()`. Although both functions work the same way,
1664-
`base64ToString()` is preferred.
1665-
1666-
```
1667-
decodeBase64('<value>')
1668-
```
1669-
1670-
| Parameter | Required | Type | Description |
1671-
| --------- | -------- | ---- | ----------- |
1672-
| <*value*> | Yes | String | The base64-encoded string to decode |
1673-
|||||
1674-
1675-
| Return value | Type | Description |
1676-
| ------------ | ---- | ----------- |
1677-
| <*decoded-base64-string*> | String | The string version for a base64-encoded string |
1678-
||||
1679-
1680-
*Example*
1681-
1682-
This example creates a string for a base64-encoded string:
1683-
1684-
```
1685-
decodeBase64('aGVsbG8=')
1686-
```
1687-
1688-
And returns this result: `"hello"`
1663+
This function is deprecated, so please use [base64ToString()](#base64ToString) instead.
16891664

16901665
<a name="decodeDataUri"></a>
16911666

0 commit comments

Comments
 (0)