function getBodyAsBuffer(body, encoding) {
  return body instanceof Buffer
    ? body
    : Buffer.from(`${body || ''}`, normalizeBodyEncoding(encoding));
}
Coerces the HTTP request body to a Buffer

@param {string|Buffer} body
@param {*} encoding