getFileContent

open suspend override fun getFileContent(fileId: String): ByteArray

Retrieves the raw content of a file as a byte array.

Return

The file content.

Parameters

fileId

The ID of the file.

Samples

io.kory.core.samples.files.gettingFileContentAsByteArray