code: public static Body from(final ByteBuffer body, final Encoding encoding) {
      switch (encoding) {
      case Base64:
        return new Body(bytesToBase64(bufferToArray(body)));
      case UTF8:
        return new Body(bytesToUTF8(bufferToArray(body)));
      }
      throw new IllegalArgumentException("Unmapped encoding: " + encoding);
    }
docs: Answer a new {@code Body} with binary content using {@code encoding}.
  @param body the ByteBuffer content
  @param encoding the Encoding to use
  @return Body