温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/fs/promises/WriterOptions
点击访问原文链接

Node fs.promises.WriterOptions TypeScript interface | API Reference | Bun

Node fs.promises.WriterOptions TypeScript interface | API Reference | BunBuildDocsReferenceGuidesBlogDiscord/node:fs/promises/WriterOptionsPautoClosePchunkSizePlimitPstart

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:fs/promises/WriterOptionsPautoClosePchunkSizePlimitPstart

interface

fs.promises.WriterOptionsinterface WriterOptionsautoClose?: boolean

Close the file handle when the writer ends or fails.

chunkSize?: number

Maximum chunk size in bytes for synchronous write operations. Writes larger than this threshold fall back to async I/O. Set this to match the reader's chunkSize for optimal pipeTo() performance.

limit?: number

Maximum number of bytes the writer will accept. Async writes (write(), writev()) that would exceed the limit reject with ERR_OUT_OF_RANGE. Sync writes (writeSync(), writevSync()) return false.

start?: number

Byte offset to start writing at. When specified, writes use explicit positioning.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

Node fs.promises.WriterOptions TypeScript interface | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for interface node:fs/promises.WriterOptions | Bun