Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AsCharSink (0.25 sec)

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

      /**
       * Returns a {@link CharSink} view of this {@code ByteSink} that writes characters to this sink as
       * bytes encoded with the given {@link Charset charset}.
       */
      public CharSink asCharSink(Charset charset) {
        return new AsCharSink(charset);
      }
    
      /**
       * Opens a new {@link OutputStream} for writing to this sink. This method returns a new,
       * independent stream each time it is called.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

        CharSinkFactory charSinkFactory = SourceSinkFactories.asCharSinkFactory(factory);
        suite.addTest(
            CharSinkTester.suiteForString(
                name + ".asCharSink[Charset]", charSinkFactory, string, desc));
        return suite;
      }
    
      private static TestSuite suiteForBytes(
          String name, ByteSinkFactory factory, String desc, byte[] bytes) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ByteSinkTester.java

        CharSinkFactory charSinkFactory = SourceSinkFactories.asCharSinkFactory(factory);
        suite.addTest(
            CharSinkTester.suiteForString(
                name + ".asCharSink[Charset]", charSinkFactory, string, desc));
        return suite;
      }
    
      private static TestSuite suiteForBytes(
          String name, ByteSinkFactory factory, String desc, byte[] bytes) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharSink.java

     *       doing something and finally closing the writer that was opened.
     * </ul>
     *
     * <p>Any {@link ByteSink} may be viewed as a {@code CharSink} with a specific {@linkplain Charset
     * character encoding} using {@link ByteSink#asCharSink(Charset)}. Characters written to the
     * resulting {@code CharSink} will written to the {@code ByteSink} as encoded bytes.
     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 6.1K bytes
    - Viewed (0)
Back to top