C# 클래스 ExtensionMethods.StringExtensions

파일 보기 프로젝트 열기: mono/mooncodecs

공개 메소드들

메소드 설명
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

메소드 상세

ToLittleEndian() 공개 정적인 메소드

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. ///
리턴 string