ME3LibWV.PCCPackage.ReadUInt C# (CSharp) Method

ReadUInt() public method

public ReadUInt ( Stream s ) : uint
s Stream
return uint
        public uint ReadUInt(Stream s)
        {
            byte[] buff = new byte[4];
            s.Read(buff, 0, 4);
            uint u = BitConverter.ToUInt32(buff, 0);
            if(verbose)
                DebugLog.PrintLn("Read @0x" + (s.Position - 4).ToString("X8") + " UInt32 = 0x" + u.ToString("X8"));
            return u;
        }
        public int ReadInt(Stream s)