Package 

Class ByteArrayExtKt

    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.