Read the contents of a requested file without saving it in Ktor [Kotlin]
Is it possible to read the contents of a file directly without having to save it. The file (.json) is received as a multipart request. This example was used for orientation
Instead of saving the file as in the example, its content is to be saved directly in a map.
With the following line I get the fileBytes.
var fileBytes = part.streamProvider().readBytes()
How to read the content of the file from the...