Dominaezzz
10/10/2019, 6:24 PM@kotlin.internal.InlineOnly
public inline fun buildByteArray(builderAction: ByteArrayOutputStream.() -> Unit): ByteArray
jw
10/10/2019, 6:24 PMjw
10/10/2019, 6:25 PMbuildByteString
which offers a dramatically more expressive API for assembling the byte output of various things: https://github.com/square/okio/issues/611Dominaezzz
10/10/2019, 6:27 PMByteString
~= ByteArray
?jw
10/10/2019, 6:27 PMjw
10/10/2019, 6:28 PMDominaezzz
10/10/2019, 6:29 PM