Skip to content
On this page

Home > entanclature > Encoded

Encoded type

Record the encoded information.

Signature:

typescript
export declare type Encoded = {
    name: string;
    type?: Type;
};

References: Type

Remarks

The name is the encoded string.

The type is the MIME type of the image.

What is the extension of name depends on type; at the same time, whether there is an extension depends on Opts's ext.

Released under the CC-BY-SA-4.0 License.