This is more of a general observation but I don't think the Buffer object is rooted in any HandleScope here. IOW, it's possible (if unlikely) that it gets garbage-collected before it gets to JS land. We really should address that some day...