Class ArbitraryInstances.NullByteSink

java.lang.Object
com.google.common.io.ByteSink
com.google.common.testing.ArbitraryInstances.NullByteSink
All Implemented Interfaces:
Serializable
Enclosing class:
ArbitraryInstances

private static final class ArbitraryInstances.NullByteSink extends ByteSink implements Serializable
  • Field Details

  • Constructor Details

    • NullByteSink

      private NullByteSink()
  • Method Details

    • openStream

      public OutputStream openStream()
      Description copied from class: ByteSink
      Opens a new OutputStream for writing to this sink. This method returns a new, independent stream each time it is called.

      The caller is responsible for ensuring that the returned stream is closed.

      Specified by:
      openStream in class ByteSink