larksuite-oapi/src/main/java/com/larksuite/oapi/okio1_17/Buffer.java
public final ByteString snapshot() {
    if (size > Integer.MAX_VALUE) {
      throw new IllegalArgumentException("size > Integer.MAX_VALUE: " + size);
    }
    return snapshot((int) size);
  }
/** Returns an immutable copy of this buffer as a byte string. */
Returns an immutable copy of this buffer as a byte string.
Returns an immutable copy of this buffer as a byte string .
public final ByteString snapshot() {
    if (size > Integer.MAX_VALUE) {
      throw new IllegalArgumentException("size > Integer.MAX_VALUE: " + size);
    }
    return snapshot((int) size);
  }
public final ByteString snapshot ( ) { if ( size > Integer . MAX_VALUE ) { throw new IllegalArgumentException ( "size > Integer.MAX_VALUE: " + size ) ; } return snapshot ( ( int ) size ) ; }
Returns an immutable copy of this buffer as a byte string.
Returns an immutable copy of this buffer as a byte string .