index.js
function toBuffer (chunk, encoding) {
  return !Buffer.isBuffer(chunk)
    ? Buffer.from(chunk, encoding)
    : chunk
}
function toBuffer (chunk, encoding) {
  return !Buffer.isBuffer(chunk)
    ? Buffer.from(chunk, encoding)
    : chunk
}
function toBuffer ( chunk , encoding ) { return ! Buffer . isBuffer ( chunk ) ? Buffer . from ( chunk , encoding ) : chunk }
Coerce arguments to Buffer
@private
Coerce arguments to Buffer