C# Class ExtensionMethods.StringExtensions

Afficher le fichier Open project: mono/mooncodecs

Méthodes publiques

Méthode Description
ToLittleEndian ( this value ) : string

Converts a string of characters from Big Endian byte order to Little Endian byte order.

Assumptions this makes about the string. Every two characters make up the smallest data unit (analogous to byte). The entire string is the size of the systems natural unit of data (analogous to a word).

This function was designed to take in a Big Endian string of hexadecimal digits. input: DEADBEEF output: EFBEADDE

Method Details

ToLittleEndian() public static méthode

Converts a string of characters from Big Endian byte order to Little Endian byte order.

Assumptions this makes about the string. Every two characters make up the smallest data unit (analogous to byte). The entire string is the size of the systems natural unit of data (analogous to a word).

This function was designed to take in a Big Endian string of hexadecimal digits. input: DEADBEEF output: EFBEADDE
public static ToLittleEndian ( this value ) : string
value this /// A string in Big Endian Byte order. ///
Résultat string