Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ByteSink (0.05 sec)

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

     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ByteSink {
    
      /** Constructor for use by subclasses. */
      protected ByteSink() {}
    
      /**
       * Returns a {@link CharSink} view of this {@code ByteSink} that writes characters to this sink as
       * bytes encoded with the given {@link Charset charset}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 16:55:09 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/MoreFiles.java

       * WRITE} options.
       */
      public static ByteSink asByteSink(Path path, OpenOption... options) {
        return new PathByteSink(path, options);
      }
    
      @IgnoreJRERequirement // *should* be redundant with the one on MoreFiles itself
      private static final class PathByteSink extends ByteSink {
    
        private final Path path;
        private final OpenOption[] options;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/MoreFiles.java

       * StandardOpenOption#TRUNCATE_EXISTING TRUNCATE_EXISTING} and {@link StandardOpenOption#WRITE
       * WRITE} options.
       */
      public static ByteSink asByteSink(Path path, OpenOption... options) {
        return new PathByteSink(path, options);
      }
    
      private static final class PathByteSink extends ByteSink {
    
        private final Path path;
        private final OpenOption[] options;
    
    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