|
encode
|
The encode function calls the compress function, to convert a Byte Vector,
String, or Symbol into a much smaller Byte Vector. Then the encode function uses
the specified key to encode the compressed byte vector. The same key must also be passed
to the decode function to reconstruct the data. When to use The encode function is used to convert a Byte Vector,
String, or Symbol into a much smaller Byte Vector.
(encode input key) A Byte Vector (compressed).
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types input The Byte Vector, String, or Symbol to be compressed and then encoded. ByteVector String Symbol key The Number key to use for encoding (must be the same key used for later decoding). Number
Returns:
Examples
Argument Types
ByteVector
String
Symbol
How do I contact the AIS team?