Fixes issue #644.

Needed to call buffer.rewind() prior to binding.

Signed-off-by: Jared Woolston <jwoolston@tenkiv.com>