Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for processBytes (0.16 sec)

  1. android/guava/src/com/google/common/io/ByteProcessor.java

    import com.google.errorprone.annotations.DoNotMock;
    import java.io.IOException;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A callback interface to process bytes from a stream.
     *
     * <p>{@link #processBytes} will be called for each chunk of data that is read, and should return
     * {@code false} when you want to stop processing.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @DoNotMock("Implement it normally")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

            source.read(
                new ByteProcessor<byte[]>() {
                  final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
                  @Override
                  public boolean processBytes(byte[] buf, int off, int len) throws IOException {
                    out.write(buf, off, len);
                    return true;
                  }
    
                  @Override
                  public byte[] getResult() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ByteSourceTester.java

            source.read(
                new ByteProcessor<byte[]>() {
                  final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
                  @Override
                  public boolean processBytes(byte[] buf, int off, int len) throws IOException {
                    out.write(buf, off, len);
                    return true;
                  }
    
                  @Override
                  public byte[] getResult() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
Back to top