Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for openStream (1.01 sec)

  1. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        // Slice it starting at offset 10.
        ByteSource slice = source.slice(10, 5);
    
        // Open a stream to the slice.
        InputStream in = slice.openStream();
    
        // Append 10 more bytes to the source.
        source.append(newPreFilledByteArray(5, 10));
    
        // The stream reports no bytes... importantly, it doesn't read the byte at index 5 when it
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ByteSourceTest.java

        // Slice it starting at offset 10.
        ByteSource slice = source.slice(10, 5);
    
        // Open a stream to the slice.
        InputStream in = slice.openStream();
    
        // Append 10 more bytes to the source.
        source.append(newPreFilledByteArray(5, 10));
    
        // The stream reports no bytes... importantly, it doesn't read the byte at index 5 when it
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
Back to top