-
Notifications
You must be signed in to change notification settings - Fork 0
DiGi.Core.IO.File
public static class QueryInheritance System.Object → Query
Decodes the specified string into a DiGi.Core.Classes.UniqueReference.
public static DiGi.Core.Classes.UniqueReference? Decode(string? text);text System.String
The string to decode.
DiGi.Core.Classes.UniqueReference
The decoded DiGi.Core.Classes.UniqueReference, or null if the decoding process fails.
Encodes the specified string for use as a reference.
public static string? Encode(string? text);text System.String
The string to encode.
System.String
The encoded string, or null if the input is null.
Encodes the specified DiGi.Core.Classes.UniqueReference into its string representation.
public static string? Encode(this DiGi.Core.Classes.UniqueReference? uniqueReference);uniqueReference DiGi.Core.Classes.UniqueReference
The unique reference to encode.
System.String
The encoded string representation of the unique reference, or null if the input is null.
Attempts to determine the text encoding of the specified file.
public static bool TryGetEncoding(string? filePath, out System.Text.Encoding? encoding);filePath System.String
The path to the file.
encoding System.Text.Encoding
When this method returns, contains the encoding of the specified file if successful; otherwise, null.
System.Boolean
True if the encoding was successfully determined; otherwise, false.