Home Reference Source
import {BlobHelper} from 'arva-js/utils/BlobHelper.js'
public class | source

BlobHelper

Helper class for converting base64 string data to a HTML5 Blob object.

Static Method Summary

Static Public Methods
public static

base64toBlob(b64Data: String, contentType: String, sliceSize: Number): Blob

Convert base64 string data to a HTML5 Blob object.

Static Public Methods

public static base64toBlob(b64Data: String, contentType: String, sliceSize: Number): Blob source

Convert base64 string data to a HTML5 Blob object.

Params:

NameTypeAttributeDescription
b64Data String

Base64 data to convert to Blob

contentType String

Content type

sliceSize Number

How large the chunks are in which we process the data.

Return:

Blob

Blob of raw data.