Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 43 of 43 for byteStream (0.08 sec)

  1. guava/src/com/google/common/io/Files.java

        }
    
        @Override
        public byte[] read() throws IOException {
          Closer closer = Closer.create();
          try {
            FileInputStream in = closer.register(openStream());
            return ByteStreams.toByteArray(in, in.getChannel().size());
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
            closer.close();
          }
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/MoreFiles.java

          }
    
          return attrs.size();
        }
    
        @Override
        public byte[] read() throws IOException {
          try (SeekableByteChannel channel = Files.newByteChannel(path, options)) {
            return ByteStreams.toByteArray(Channels.newInputStream(channel), channel.size());
          }
        }
    
        @Override
        public CharSource asCharSource(Charset charset) {
          if (options.length == 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/MoreFiles.java

          }
    
          return attrs.size();
        }
    
        @Override
        public byte[] read() throws IOException {
          try (SeekableByteChannel channel = Files.newByteChannel(path, options)) {
            return ByteStreams.toByteArray(Channels.newInputStream(channel), channel.size());
          }
        }
    
        @Override
        public CharSource asCharSource(Charset charset) {
          if (options.length == 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top