All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.util.zip.InflaterInputStream.scala Maven / Gradle / Ivy

There is a newer version: 0.6.33
Show newest version
package java.util.zip

import java.io._

/** Dummy implementation of InflatorInputStream. Does not do anything. */
class InflaterInputStream(in: InputStream) extends FilterInputStream(in) {

  // Not implemented:
  // def this(in: InputStream, inf: Inflater)
  // def this(in: InputStream, inf: Inflater, size: Int)
  // protected var buf: Array[Byte]
  // protected var inf: Inflater
  // protected var len: Int

  override def markSupported(): Boolean = false
  override def mark(readlimit: Int): Unit = {}
  override def reset(): Unit = throw new IOException("Reset not supported")

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy