public static bool IsLittleEndian() { EndianessChecker check = new EndianessChecker(); check.myByte = 1; return (check.myInt == 16777216); }
public static bool IsLittleEndian() { EndianessChecker check = new EndianessChecker(); check.myByte = 1; return(check.myInt == 16777216); }
public static bool IsBigEndian() { EndianessChecker check = new EndianessChecker(); check.myByte = 1; return (check.myInt == 1); }
public static bool IsBigEndian() { EndianessChecker check = new EndianessChecker(); check.myByte = 1; return(check.myInt == 1); }