FacebookTwitter

IsHeader.lua Overview

Download
Version 1.0.0.0.

This lua script contains a function called IsHeader(sFile, tblBytes);
It will check if a header is available in given file. Only parse a table containing
the numbers representating the bytes. Null char would be 0 and P would be 80.

Further details inside script.

self-hosted tracking/analytics pixel without sharing your data to other parties.

Downloads


Filename Version / Changelog  
IsHeader.zip Thu 01 Jan 2009, version 1.0.0.0. x Download

Additional Information

Code language: Lua

Do not forget to check out the script for loads of comments explaining
the usage of the script.

Compatibility Information

  • Lua 5.1
  • Lua 5.2
  • AutoPlay Media Studio

Functions


  • IsHeader(sFile, tblBytes) Returns: true if the tblBytes matches the first bytes in the file.