add ArrayBufferAllocator support
Merge pull request #7 from lazytiger/master

add ArrayBufferAllocator support