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

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

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

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

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