CSharp examples for System:String Endian
Convert String To Little Endian
using System.Web.UI.WebControls; using System.Web.UI; using System.Web; using System.Text; using System.Linq; using System.Collections.Generic; using System;/* w ww .j ava2s . com*/ public class Main{ private static string ConvertToLittleEndian(string strOctStr) { string strRes = ""; for (int i = strOctStr.Length - 2; i >= 0; i -= 2) { strRes += strOctStr.Substring(i, 2); } return strRes; } }