com.hp.jipp.pdl.util.NullOutputStream.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jipp-pdl Show documentation
Show all versions of jipp-pdl Show documentation
PWG-Raster and PCLm conversions
// Copyright 2018 HP Development Company, L.P.
// SPDX-License-Identifier: MIT
package com.hp.jipp.pdl.util
import java.io.OutputStream
/** An output stream that writes data to nowhere. */
object NullOutputStream : OutputStream() {
@Suppress("EmptyFunctionBlock")
override fun write(dummy: Int) { }
}