Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for asByteSourceFactory (1.78 sec)

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

        TestSuite suite = suiteForString(factory, new String(bytes, UTF_8), name, desc);
        ByteSourceFactory byteSourceFactory = SourceSinkFactories.asByteSourceFactory(factory);
        suite.addTest(
            ByteSourceTester.suiteForBytes(
                byteSourceFactory, bytes, name + ".asByteSource[Charset]", desc, slice));
        return suite;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        String initialString = IoTestCase.ASCII + IoTestCase.I18N;
        return new PathCharSinkFactory(initialString);
      }
    
      public static ByteSourceFactory asByteSourceFactory(CharSourceFactory factory) {
        checkNotNull(factory);
        return new ByteSourceFactory() {
          @Override
          public ByteSource createSource(byte[] data) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top