Release isConsole Function + Source

Tusta

Head Member
Donator
Messages
18
Points
164
:VerTical: isConsole :VerTical:
Checks compiled gsc file and return a bool if it's a console file.
:VerTical: Source
PHP:
        public static bool isConsole(byte[] Compiled)

        {
            if (Compiled[0x30] == 0 && Compiled[0x31] == 64)
                return true;
            return false;
        }

:VerTical: Credits

  • VerTical
  • dtx12, kokole, Nukem (some stuff)
 

CabCon

Head Administrator
Staff member
Head Staff Team
Messages
4,362
Points
553
VerTical.
We will update this rule and will set a maximum of tags in the future to prevent people tagging threads to many times.

Please ensure your content (this includes tags) is valid and well-mannered.
 

Top