FileMode

Overview

File mode for opening a file stream

Location

  • Reference: Island.fx
  • Namespace: RemObjects.Elements.System
  • Platforms: Android, Fuchsia, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, visionOS, visionOS Simulator, watchOS, watchOS Simulator, Windows
Value Description
Create Creates or overwrites and creates a file as new.
CreateNew Creates a new file (or fails if it exists)
Open Open an existing file or fail if it doesn't exist.
OpenOrCreate Open a file or create it new.
Truncate Open a file and truncate it to 0 bytes.