concat

fun ByteString.concat(bStr: ByteString): ByteString

Concatenates this ByteString with another ByteString.

This function creates a new ByteString that is the result of appending the bStr to the end of this ByteString. It does not modify the original ByteString objects.

Return

A new ByteString containing the concatenated data.

Parameters

bStr

The ByteString to append to the end of this ByteString.