|
appendWriteln
|
The appendWriteln Function converts one or more arguments to strings and
appends them to the end of a target Byte Vector and returns the result.
The appendWriteln operation is destructive, that is the result of appending
changes the contents of the target Byte Vector. The arguments are converted into
strings and concatenated from left to right, returning the final appended Byte Vector.
If only the Byte Vector is specified, it is returned. When to use Use the appendWriteln function to concatenate large strings into a
preallocated space. This will be faster than multiple appends, which may involve
multiple garbage collections, as the required space grows in size.
(appendWriteln ByteVector...) The Byte Vector, after the append, is returned.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Example_ByteVector_appendWriteln_001
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 ByteVector A preallocated Byte Vector argument, with enough size to contain the final
appended string, is mandatory. It can be followed by a list of arguments,
each of which will be converted to a string and concatenated into the specified
Byte Vector. ByteVector
Returns:
Examples
Argument Types
Vector
String
ByteVector
How do I contact the AIS team?