Base64

data class Base64(val base64: String, val mediaType: String) : Resource(source)

Constructors

Link copied to clipboard
constructor(base64: String, mediaType: String)

Properties

Link copied to clipboard

The Base64-encoded string containing the resource data.

Link copied to clipboard

The MIME type and optional parameters of the resource, which specifies the nature of the resource data (e.g., image/png, text/plain;charset=UTF-8).

Functions

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String