malloc
malloc copied to clipboard
Fails in browser
I get reference error Buffer is not defined at line 51:
if (buffer instanceof Buffer) {
If I comment it out lines 51-55, and check only ArrayBuffer, it works.