BinLib.Blib.GetInt C# (CSharp) 메소드

GetInt() 개인적인 정적인 메소드

private static GetInt ( GZipStream gz ) : int
gz System.IO.Compression.GZipStream
리턴 int
        private static int GetInt(GZipStream gz)
        {
            var b = new byte[4];
            gz.Read(b, 0, 4);
            int i = BitConverter.ToInt32(b, 0);
            return i;
        }