updating oE encode
Base 64 Encoding and Decoding
Base64 is used to encode binary data into an ASCII string; this allows binary data to be transmitted using media designed to transmit text data only. See en.wikipedia.org/wiki/Base64 and the RFC 2045 standard for more information.
Routines
encode
include base64.e namespace base64 public function encode(sequence in, integer wrap_column = 0)
encodes to base64.
Parameters:
- in -- must be a simple sequence
- wrap_column -- column to wrap the base64 encoded message to; defaults to 0 which is do not wrap
Returns:
A sequence, a base64 encoded sequence representing in.
Example 1:
puts(1, encode( "Hello Euphoria!") ) --> SGVsbG8gRXVwaG9yaWEh
Not Categorized, Please Help
|