support node.js buffer objects.