Before `buffer` was a string, now its actually a `Buffer` - different APIs