All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.ru.ztrap.navigation_toggle_icon.generated.resources.Res.kt Maven / Gradle / Ivy

Go to download

Compose Multiplatform icon which have 3 states (burger, arrow and cross) and animated transitions between them

The newest version!
@file:OptIn(
  org.jetbrains.compose.resources.InternalResourceApi::class,
  org.jetbrains.compose.resources.ExperimentalResourceApi::class,
)

package ru.ztrap.navigation_toggle_icon.generated.resources

import kotlin.ByteArray
import kotlin.OptIn
import kotlin.String
import org.jetbrains.compose.resources.ExperimentalResourceApi
import org.jetbrains.compose.resources.readResourceBytes

@ExperimentalResourceApi
internal object Res {
  /**
   * Reads the content of the resource file at the specified path and returns it as a byte array.
   *
   * Example: `val bytes = Res.readBytes("files/key.bin")`
   *
   * @param path The path of the file to read in the compose resource's directory.
   * @return The content of the file as a byte array.
   */
  public suspend fun readBytes(path: String): ByteArray = readResourceBytes(path)

  public object drawable

  public object string

  public object font
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy