fluffos/docs/stdlib/string/base64encode.md

28 lines
470 B
Markdown
Raw Permalink Normal View History

---
title: stdlib / base64encode
---
2023-11-25 09:50:24 -08:00
# base64encode
### NAME
base64encode - encode a string into base64
### SYNOPSIS
string base64encode( string source ) ;
### ARGUMENTS
source - the source string to encode
### DESCRIPTION
Encodes and returns a string in base64.
### EXAMPLES
printf( "%s", base64encode( "FluffOS is great!! :)" ) ) ;
// Result: Rmx1ZmZPUyBpcyBncmVhdCEhIDop
Compare your results with: https://www.base64encode.org/