toImplicitFile

fun ByteArray.toImplicitFile(fileName: String = DEFAULT_FILENAME, contentType: String = getContentType()): ImplicitFile.InpFile
fun File.toImplicitFile(fileName: String = DEFAULT_FILENAME, contentType: String = URLConnection.guessContentTypeFromName(name) ?: DEFAULT_CONTENT_TYPE): ImplicitFile.InpFile