BooRunner.Tools.DigitConverter.FromBytes C# (CSharp) Метод

FromBytes() публичный статический Метод

Converts bytes to big integer digits.
Big integer can be created from digits using BigInteger(uint[], bool) constructor.
public static FromBytes ( byte bytes ) : uint[]
bytes byte Bytes.
Результат uint[]
        public static uint[] FromBytes(byte[] bytes)
        {
            if (bytes == null)
            {
                throw new ArgumentNullException("bytes");
            }
            if (bytes.Length % 4 != 0)
            {
                throw new ArgumentException(Strings.DigitBytesLengthInvalid, "bytes");
            }

            uint[] digits = new uint[bytes.Length / 4];
            Buffer.BlockCopy(bytes, 0, digits, 0, bytes.Length);
            return digits;
        }
DigitConverter