okio / okio / ByteString / of

of

(js, jvm) @JvmStatic fun of(vararg data:Byte):ByteString(native) fun of(vararg data:Byte): <ERROR CLASS>

Returns a new byte string containing a clone of the bytes of data.

(jvm) @JvmName("-deprecated_of") fun ~~of~~(buffer:ByteBuffer):ByteString Deprecated: moved to extension function

@JvmName("-deprecated_of") fun ~~of~~(array:ByteArray, offset:Int, byteCount:Int):ByteString Deprecated: moved to extension function