OOB error with Xbee.Send(Buffer )

In my application I create a packet on a Buffer, and then send it out. It seems that svd-xbee doesn't handle this very well.
Error: oob
    at Buffer.slice (buffer.js:553:26)
    at XBee.send (/home/bpaluch/projects/grid-react-gateway/node_modules/svd-bee/index.js:324:17)
    at Node.send (/home/bpaluch/projects/grid-react-gateway/node_modules/svd-xbee/index.js:528:13)
    at EventEmitter.<anonymous> (/home/bpaluch/projects/grid-react-gateway/libs/drivers/cordinator_xbee.js:34:14)
    at EventEmitter.emit (/home/bpaluch/projects/grid-react-gateway/node_modules/eventemitter2/lib/eventemitter2.js:332:22)

I've fixed it by testing for the length of the data being sliced in index.js, and then testing for Buffer type in xbee-api and using the Buffer value instead of the charCode. 

I really like the improvements you made this month! Thanks for making this awesome library.