slice

fun slice(start: Int53 = definedExternally, end: Int53 = definedExternally, contentType: String = definedExternally): Blob(source)

The slice() method of the Blob interface creates and returns a new Blob object which contains data from a subset of the blob on which it's called.

MDN Reference