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. Usage 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.
Expression:
Arguments
Name
Type
Description Argument: ByteVector 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.
Returns:
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.
Vector | String | ByteVector |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|