バイナリ情報を表すクラスです。This class represents binary information.

Hierarchy

  • Blob

Methods

  • Blobのバイナリデータを取得します。Gets the Blob's binary data.

    Returns

    バイナリデータ binary data

    Returns Uint8Array

  • Blobのコンテンツタイプを取得します。Gets the content type of the Blob.

    Returns

    コンテンツタイプ content type

    Returns undefined | string

  • Blob名を取得します。Gets the Blob name.

    Returns

    Blob名Blob name

    Returns undefined | string

  • Blobにバイナリデータを設定します。Set binary data in the Blob.

    Returns

    BlobBlob

    Parameters

    • bytes: Uint8Array

      バイナリデータ binary data

    Returns Blob

  • Blobにコンテンツタイプを設定します。Set the content type for the Blob.

    Returns

    BlobBlob

    Parameters

    • contentType: string

      コンテンツタイプ content type

    Returns Blob

  • Blobに指定されたエンコーディングの文字列からデータを設定します。Sets the data in the blob from a string with the specified encoding.

    Returns

    BlobBlob

    Parameters

    • data: string

      文字列データThe string data.

    • charset: string

      文字列をバイトとして解釈する際に使用するエンコーディング ※現在"Shift_JIS"のみに対応しています。The charset to use in interpreting the string as bytes. *Currently, only "Shift_JIS" is supported.

    Returns Blob

  • Blob名を設定します。Specify the Blob name.

    Returns

    BlobBlob

    Parameters

    • name: string

      Blob名Blob name

    Returns Blob