Encapsulate readBuffer into export

I needed the lib to read a swf directly from a buffer without having the file be local.