larksuite-oapi/src/main/java/com/larksuite/oapi/okhttp3_14/internal/cache2/FileOperator.java
public void write(long pos, Buffer source, long byteCount) throws IOException {
    if (byteCount < 0 || byteCount > source.size()) throw new IndexOutOfBoundsException();

    while (byteCount > 0L) {
      long bytesWritten = fileChannel.transferFrom(source, pos, byteCount);
      pos += bytesWritten;
      byteCount -= bytesWritten;
    }
  }
/** Write {@code byteCount} bytes from {@code source} to the file at {@code pos}. */
Write  byteCount bytes from  source to the file at  pos.
Write byteCount bytes from source to the file at pos .
public void write(long pos, Buffer source, long byteCount) throws IOException {
    if (byteCount < 0 || byteCount > source.size()) throw new IndexOutOfBoundsException();
    while (byteCount > 0L) {
      long bytesWritten = fileChannel.transferFrom(source, pos, byteCount);
      pos += bytesWritten;
      byteCount -= bytesWritten;
    }
  }
public void write ( long pos , Buffer source , long byteCount ) throws IOException { if ( byteCount < 0 || byteCount > source . size ( ) ) throw new IndexOutOfBoundsException ( ) ; while ( byteCount > 0L ) { long bytesWritten = fileChannel . transferFrom ( source , pos , byteCount ) ; pos += bytesWritten ; byteCount -= bytesWritten ; } }
Write {@code byteCount} bytes from {@code source} to the file at {@code pos}.
Write { @code byteCount } bytes from { @code source } to the file at { @code pos } .