Bitbybit Docs
    Preparing search index...

    Class BlobToFileDto (Inputs.Asset)

    Feeds asset.blobToFile: the Blob to wrap, the name the File gets and, when the Blob's own type is not right, the MIME type to declare.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalblob: Blob
      • OptionalfileName: string
      • OptionalmimeType: string

      Returns BlobToFileDto

    Properties

    blob: Blob

    The bytes the File is made from; they are shared, not copied

    undefined
    
    fileName: string

    Name the File carries, extension included

    file
    
    mimeType?: string

    MIME type declared on the File, such as model/gltf-binary; left out, the Blob's own type is kept

    undefined
    

    true