This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
ModIO.IOUtilities
Jackson Wood edited this page Feb 20, 2019
·
1 revision
static class in ModIO
Name | Description |
---|---|
ReadJsonObjectFile<T> | Reads an entire file and parses the JSON Object it contains. |
TryReadJsonObjectFile<T> | Reads an entire file and parses the JSON Object it contains. |
WriteJsonObjectFile<T> | Writes an object to a file in the JSON Object format. |
LoadBinaryFile | Loads an entire binary file as a byte array. |
TryLoadBinaryFile | Loads an entire binary file as a byte array. |
WriteBinaryFile | Writes an entire binary file. |
ReadImageFile | Loads the image data from a file into a new Texture. |
TryReadImageFile | Loads the image data from a file into a new Texture. |
WritePNGFile | Writes a texture to a PNG file. |
DeleteFile | Deletes a file. |
CreateDirectory | Creates a directory. |
DeleteDirectory | Deletes a directory. |
CombinePath | Creates a path using System.IO.Path.Combine(). |
GetFileSize | Gets the size (in bytes) of a given file. |
CalculateFileMD5Hash | Calculates the MD5 Hash for a given file. |
GetPathItemName | Gets the name of the item (file/folder) at the given path. |