DemoCommon.BinaryTable.ReadInt C# (CSharp) Méthode

ReadInt() private static méthode

private static ReadInt ( FileStream fs ) : int
fs System.IO.FileStream
Résultat int
        private static int ReadInt(FileStream fs)
        {
            int i1 = fs.ReadByte();
            int i2 = fs.ReadByte();
            int i3 = fs.ReadByte();
            int i4 = fs.ReadByte();
            return i1 + (i2 << 8) + (i3 << 16) + (i4 << 24);
        }