-
public final class ByteArrayExtKt
-
-
Method Summary
Modifier and Type Method Description final static ByteArrayjoin(Collection<ByteArray> $self, ByteArray separator, ByteArray prefix, ByteArray suffix, InternalLogger internalLogger)Joins a collection of ByteArray elements into a single ByteArray, taking into account separator between elements and prefix and suffix decoration of the final array. -
-
Method Detail
-
join
final static ByteArray join(Collection<ByteArray> $self, ByteArray separator, ByteArray prefix, ByteArray suffix, InternalLogger internalLogger)
Joins a collection of ByteArray elements into a single ByteArray, taking into account separator between elements and prefix and suffix decoration of the final array.
- Parameters:
separator- Separator to use between the parts joined.prefix- Optional prefix to add to the result.suffix- Optional suffix to add to the result.internalLogger- logger to use.
-
-
-
-