'use strict';

module.exports = function (buf) {
	if (!buf || buf.length < 2) {
		return false;
	}

	return (buf[0] === 0x43 || buf[0] === 0x46) && buf[1] === 0x57 && buf[2] === 0x53;
};

'use strict';

module.exports = function (buf) {
	if (!buf || buf.length < 2) {
		return false;
	}

	return (buf[0] === 0x43 || buf[0] === 0x46 || buf[0] === 0x5a) && buf[1] === 0x57 && buf[2] === 0x53;
};

Add support for LZMA compressed SWF
Add support for LZMA compressed SWF

Fixes #1.
