Esempio n. 1
0
        public static bool IsLittleEndian()
        {
            EndianessChecker check = new EndianessChecker();

            check.myByte = 1;
            return (check.myInt == 16777216);
        }
Esempio n. 2
0
        public static bool IsLittleEndian()
        {
            EndianessChecker check = new EndianessChecker();

            check.myByte = 1;
            return(check.myInt == 16777216);
        }
Esempio n. 3
0
        public static bool IsBigEndian()
        {
            EndianessChecker check = new EndianessChecker();

            check.myByte = 1;
            return (check.myInt == 1);
        }
Esempio n. 4
0
        public static bool IsBigEndian()
        {
            EndianessChecker check = new EndianessChecker();

            check.myByte = 1;
            return(check.myInt == 1);
        }