C# Class Nexus.Client.Util.TextUtil

Utility functions to work with text.
Afficher le fichier Open project: NexusMods/NexusModManager-4.5

Méthodes publiques

Méthode Description
ByteToString ( byte p_bteText ) : string

Converts the given byte array to a string.

This method attempts to detect the text encoding.

ByteToStringLines ( byte p_bteText ) : string[]

Converts the given byte array to an array of string lines.

This method attempts to detect the text encoding.

Method Details

ByteToString() public static méthode

Converts the given byte array to a string.
This method attempts to detect the text encoding.
public static ByteToString ( byte p_bteText ) : string
p_bteText byte The bytes to convert to a string.
Résultat string

ByteToStringLines() public static méthode

Converts the given byte array to an array of string lines.
This method attempts to detect the text encoding.
public static ByteToStringLines ( byte p_bteText ) : string[]
p_bteText byte The bytes to convert to an array of string lines.
Résultat string[]