神岛 API 文档 - ArenaPro版
    Preparing search index...

    Interface BlobPropertyBag

    创建 blob 的可选参数,包括 MIME 类型和行尾处理。

    Optional parameters for creating a blob, including the MIME type and line ending handling.

    interface BlobPropertyBag {
        endings?: EndingType;
        type?: string;
    }
    Index

    Properties

    Properties

    endings?: EndingType

    指定从文本创建 blob 时如何处理行尾。如果不需要特殊处理,则可能为 undefined。

    Specifies how line endings are handled when creating a blob from text. It may be undefined if no special handling is required.

    type?: string

    blob 的 MIME 类型,用于描述二进制数据的类型。如果未指定类型,则可能为 undefined。

    The MIME type of the blob, used to describe the type of binary data. It may be undefined if no type is specified.