---
title: "Encoded"
sidebar_label: "Encoded"
description: "Kotlin binding reference: Encoded."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../../index.md)/[io.clika.modelverse](../../index.md)/[ImageInput](../index.md)/[Encoded](index.md)

# Encoded

[common]\
class [Encoded](index.md)(val bytes: [ByteArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte-array/index.html)) : [ImageInput](../index.md)

An encoded image file (PNG or JPEG bytes), decoded by the library.

## Constructors

| | |
|---|---|
| [Encoded](Encoded.md) | [common]<br>constructor(bytes: [ByteArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte-array/index.html)) |

## Properties

| Name | Summary |
|---|---|
| [bytes](bytes.md) | [common]<br>val [bytes](bytes.md): [ByteArray](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte-array/index.html) |