larksuite-oapi/src/main/java/com/larksuite/oapi/okhttp3_14/Response.java
public ResponseBody peekBody(long byteCount) throws IOException {
    BufferedSource peeked = body.source().peek();
    Buffer buffer = new Buffer();
    peeked.request(byteCount);
    buffer.write(peeked, Math.min(byteCount, peeked.getBuffer().size()));
    return ResponseBody.create(body.contentType(), buffer.size(), buffer);
  }
/**
   * Peeks up to {@code byteCount} bytes from the response body and returns them as a new response
   * body. If fewer than {@code byteCount} bytes are in the response body, the full response body is
   * returned. If more than {@code byteCount} bytes are in the response body, the returned value
   * will be truncated to {@code byteCount} bytes.
   *
   * <p>It is an error to call this method after the body has been consumed.
   *
   * <p><strong>Warning:</strong> this method loads the requested bytes into memory. Most
   * applications should set a modest limit on {@code byteCount}, such as 1 MiB.
   */
Peeks up to  byteCount bytes from the response body and returns them as a new response
body. If fewer than  byteCount bytes are in the response body, the full response body is
returned. If more than  byteCount bytes are in the response body, the returned value
will be truncated to  byteCount bytes.

It is an error to call this method after the body has been consumed.

Warning: this method loads the requested bytes into memory. Most
applications should set a modest limit on  byteCount, such as 1 MiB.
Peeks up to byteCount bytes from the response body and returns them as a new response body . If fewer than byteCount bytes are in the response body the full response body is returned . If more than byteCount bytes are in the response body the returned value will be truncated to byteCount bytes . It is an error to call this method after the body has been consumed . Warning : this method loads the requested bytes into memory . Most applications should set a modest limit on byteCount such as 1 MiB .
public ResponseBody peekBody(long byteCount) throws IOException {
    BufferedSource peeked = body.source().peek();
    Buffer buffer = new Buffer();
    peeked.request(byteCount);
    buffer.write(peeked, Math.min(byteCount, peeked.getBuffer().size()));
    return ResponseBody.create(body.contentType(), buffer.size(), buffer);
  }
public ResponseBody peekBody ( long byteCount ) throws IOException { BufferedSource peeked = body . source ( ) . peek ( ) ; Buffer buffer = new Buffer ( ) ; peeked . request ( byteCount ) ; buffer . write ( peeked , Math . min ( byteCount , peeked . getBuffer ( ) . size ( ) ) ) ; return ResponseBody . create ( body . contentType ( ) , buffer . size ( ) , buffer ) ; }
Peeks up to {@code byteCount} bytes from the response body and returns them as a new response
 body.
Peeks up to { @code byteCount } bytes from the response body and returns them as a new response body .