System.ParseNumbers.EndianSwap C# (CSharp) Méthode

EndianSwap() static private méthode

static private EndianSwap ( byte &value ) : void
value byte
Résultat void
		static void EndianSwap (ref byte[] value)
		{
			byte[] buf = new byte[value.Length];
			for (int i = 0; i < value.Length; i++)
				buf[i] = value[value.Length-1-i];
			value = buf;
		}