FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
livecode/docs/dictionary/function/base64Encode.lcdoc at develop · livecodeali/livecode · GitHub
livecodeali
/
livecode
Public
forked from
livecode/livecode
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
livecode
/
docs
/
dictionary
/
function
/
base64Encode.lcdoc
Copy path
More file actions
More file actions
Latest commit
History
History
History
53 lines (37 loc) · 1.6 KB
Breadcrumbs
livecode
/
docs
/
dictionary
/
function
/
base64Encode.lcdoc
Copy path
File metadata and controls
53 lines (37 loc) · 1.6 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Name: base64Encode
Type: function
Syntax: the base64Encode of <data>
Syntax: base64Encode(<data>)
Summary:
<return|Returns> a base 64-<encode|encoded> string.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
write base64Encode(pictureFileData) to socket thisSocket
Parameters:
data (string):
A string of binary data of any length.
Returns:
The <base64Encode> function <return|returns> a text <string>
representing the binary <data>.
Description:
Use the <base64Encode> function to <encode> <binary file|binary data>
for transmission over communication channels that don't accept raw
<binary file|binary data>.
The <base64Encode> function is the <inverse> of the <base64Decode>
<function>. The <encode|encoded> result is generally about a third
larger than the original data. The encoded string returned by
<base64Encode> <function> can include uppercase and lowercase letters,
digits, +, /, and =, but no other characters. Base 64-encoded data is
wrapped at 72 characters, so each <line> of the <encode|encoded> data is
72 <characters> or (for the last or only line) fewer. The base 64
encoding scheme is often used to encode binary data for MIME mail and
HTTP transfers.
For technical information about base 64 encoding, see [RFC 2045, section
6.8](https://tools.ietf.org/html/rfc2045#section-6.8).
References: function (control structure), numToChar (function),
md5Digest (function), base64Decode (function), encode (glossary),
binary file (glossary), return (glossary), inverse (keyword),
characters (keyword), line (keyword), string (keyword)
Tags: text processing
Back
|
FazBrowse Home
|
New Git URL