MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / slice

Method slice

packages/core/xhr/index.ts:445–449  ·  view source on GitHub ↗
(start?: number, end?: number, type?: string)

Source from the content-addressed store, hash-verified

443 }
444
445 public slice(start?: number, end?: number, type?: string): Blob {
446 const slice = this._buffer.slice(start || 0, end || this._buffer.length);
447
448 return new Blob([slice], { type: type });
449 }
450
451 public stream() {
452 throw new Error('stream is currently not supported');

Callers 15

hasNativeClassDecoratorFunction · 0.45
emitDownleveledClassFunction · 0.45
transformStatementsFunction · 0.45
checkNodeFunction · 0.45
hasLoaderFunction · 0.45
bufferCloneFunction · 0.45
mergeSortFunction · 0.45
skipMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected