Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Module

System.Storage.FileText

module System.Storage.FileText

Bounded whole-file text operations

ReadAllText and WriteAllText are synchronous host-path helpers with an explicit maximum byte count. They return Result values with FileReadError or FileWriteError for expected path, access, encoding, size and I/O failures.

Use these helpers for bounded whole-file operations. Use streams when processing data incrementally, or storage providers for provider-owned resources.

Functions

2 items