components: Add GetBuffer implementation for Node.js