KFile

@Serializable
data class KFile(val name: String, val size: Int, val content: String? = null)

A serializable class for a fullstack File type.

Constructors

Link copied to clipboard
constructor(name: String, size: Int, content: String? = null)

Properties

Link copied to clipboard

Decode the Base64 encoded content from the data uri string contained in the KFile object.

Link copied to clipboard

Decode the byte array from the data uri string contained in the KFile object.

Link copied to clipboard
val content: String? = null
Link copied to clipboard

Decode the content-type from the data uri string contained in the KFile object.

Link copied to clipboard

Decode the input stream from the data uri string contained in the KFile object.

Link copied to clipboard
Link copied to clipboard
val size: Int

Functions

Link copied to clipboard

Decode the content from the data uri string contained in the KFile object.