larksuite-oapi/src/main/java/com/larksuite/oapi/okio1_17/Okio.java
public static Sink blackhole() {
    return new Sink() {
      @Override public void write(Buffer source, long byteCount) throws IOException {
        source.skip(byteCount);
      }

      @Override public void flush() throws IOException {
      }

      @Override public Timeout timeout() {
        return Timeout.NONE;
      }

      @Override public void close() throws IOException {
      }
    };
  }
/** Returns a sink that writes nowhere. */
Returns a sink that writes nowhere.
Returns a sink that writes nowhere .
public static Sink blackhole() {
    return new Sink() {
      @Override public void write(Buffer source, long byteCount) throws IOException {
        source.skip(byteCount);
      }
      @Override public void flush() throws IOException {
      }
      @Override public Timeout timeout() {
        return Timeout.NONE;
      }
      @Override public void close() throws IOException {
      }
    };
  }
public static Sink blackhole ( ) { return new Sink ( ) { @ Override public void write ( Buffer source , long byteCount ) throws IOException { source . skip ( byteCount ) ; } @ Override public void flush ( ) throws IOException { } @ Override public Timeout timeout ( ) { return Timeout . NONE ; } @ Override public void close ( ) throws IOException { } } ; }
Returns a sink that writes nowhere.
Returns a sink that writes nowhere .