Class CodecUtils
Inheritance
System.Object
CodecUtils
Namespace: Unity.UIWidgets.ui
Syntax
public static class CodecUtils
Methods
getCodec(Byte[])
Declaration
public static IPromise<Codec> getCodec(byte[] bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | bytes |
Returns
| Type | Description |
|---|---|
| IPromise<Codec> |
getCodec(Image)
Declaration
public static IPromise<Codec> getCodec(Image image)
Parameters
| Type | Name | Description |
|---|---|---|
| Image | image |
Returns
| Type | Description |
|---|---|
| IPromise<Codec> |