Class ArbitraryInstances.NullByteSink

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    ArbitraryInstances

    private static final class ArbitraryInstances.NullByteSink
    extends ByteSink
    implements java.io.Serializable
    • Constructor Detail

      • NullByteSink

        private NullByteSink()
    • Method Detail

      • openStream

        public java.io.OutputStream openStream()
        Description copied from class: ByteSink
        Opens a new OutputStream for writing to this sink. This method should return 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