ArtemisComm.Utility.ToInt32 C# (CSharp) Méthode

ToInt32() public static méthode

public static ToInt32 ( this me ) : int
me this
Résultat int
        public static int ToInt32(this Stream me)
        {
            if (me != null)
            {
                byte[] buffer = new byte[4];
              
                me.Read(buffer, 0, 4);
               
                return BitConverter.ToInt32(buffer, 0);
            }
            else
            {
                return 0;
            }
        }
        public static short ToInt16(this Stream me)