Consume the blob as an ArrayBuffer
Blob.slice method | Node.js buffer module | Bun BuildDocsReferenceGuidesBlogDiscord/node:buffer/Blob/sliceMslice BuildDocsReferenceGuidesBlogDiscord /node:buffer/Blob/sliceMslice buffer.Blob.sliceslice(start?: number,end?: number,contentType?: string): Blob;Referenced typesinterface Blobreadonly size: numberreadonly type: stringarrayBuffer(): PromiseArrayBuffer>; bytes(): PromiseNonSharedUint8Array>;bytes(): PromiseUint8ArrayArrayBuffer>>; slice(start?: number,end?: number,contentType?: string): Blob;stream(): ReadableStreamNonSharedUint8Array>;stream(): ReadableStreamUint8ArrayArrayBuffer>>; text(): Promisestring>;
Search the reference...
/
method
Consume as a Uint8Array, backed by an ArrayBuffer
Returns a readable stream of the blob's contents
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Blob.slice method | Node.js buffer module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method node:buffer.Blob.slice | Bun