Enum
Enum.FileMode
Controls whether FileSystemService normalizes line endings when reading or writing files.
| Item | Value | Summary |
|---|---|---|
| Enum.FileMode.Binary | 0 | Reads or writes raw bytes with no line-ending transformation, preserving all characters exactly as stored on disk. |
| Enum.FileMode.Text | 1 | Reads or writes file content with \r\n sequences normalized to \n, ensuring consistent line endings across platforms. |
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.