slice

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

MDN Reference