toggle menu
Embabel Agent Documentation
JVM
switch theme
search in API
Embabel Agent Documentation
/
com.embabel.agent.api.common
/
AgentImage
/
Companion
/
fromBytes
from
Bytes
fun
fromBytes
(
filename
:
String
,
data
:
ByteArray
)
:
AgentImage
Create an AgentImage from raw bytes, auto-detecting MIME type based on file extension