REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.56 KB
Close
//proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Base64/cdesc-Base64.yaml
Text
Base64
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The Base64 module provides for the encoding (#encode64) and decoding (#decode64) of binary data using a Base64 representation. - !ruby/struct:SM::Flow::P body: "The following particular features are also provided:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "-" body: encode into lines of a given length (#b64encode) - !ruby/struct:SM::Flow::LI label: "-" body: decode the special format specified in RFC2047 for the representation of email headers (decode_b) type: :BULLET - !ruby/struct:SM::Flow::H level: 2 text: Example - !ruby/struct:SM::Flow::P body: A simple encoding and decoding. - !ruby/struct:SM::Flow::VERB body: " require "base64"\n\n enc = Base64.encode64('Send reinforcements')\n # -> "U2VuZCByZWluZm9yY2VtZW50cw==\\n"\n plain = Base64.decode64(enc)\n # -> "Send reinforcements"\n" - !ruby/struct:SM::Flow::P body: The purpose of using base64 to encode data is that it translates any binary data into purely printable characters. It is specified in RFC 2045 (http://www.faqs.org/rfcs/rfc2045.html). constants: [] full_name: Base64 includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: b64encode - !ruby/object:RI::MethodSummary name: decode64 - !ruby/object:RI::MethodSummary name: decode_b - !ruby/object:RI::MethodSummary name: encode64 name: Base64 superclass:
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
Deprecated
DIR
-
drwxr-xr-x
2024-03-03 22:50:12
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
b64encode-i.yaml
691 B
lrw-r--r--
2023-07-26 13:47:37
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cdesc-Base64.yaml
1.56 KB
lrw-r--r--
2023-07-26 13:47:37
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
decode64-i.yaml
660 B
lrw-r--r--
2023-07-26 13:47:37
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
decode_b-i.yaml
624 B
lrw-r--r--
2023-07-26 13:47:37
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
encode64-i.yaml
586 B
lrw-r--r--
2023-07-26 13:47:37
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).