object compress
Provides utilities for compressing/decompressing byte streams.
- Source
- compress.scala
- Alphabetic
- By Inheritance
- compress
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
deflate[F[_]](level: Int = Deflater.DEFAULT_COMPRESSION, nowrap: Boolean = false, bufferSize: Int = 1024 * 32, strategy: Int = Deflater.DEFAULT_STRATEGY): Pipe[F, Byte, Byte]
Returns a
Pipe
that deflates (compresses) its input elements using ajava.util.zip.Deflater
with the parameterslevel
,nowrap
andstrategy
.Returns a
Pipe
that deflates (compresses) its input elements using ajava.util.zip.Deflater
with the parameterslevel
,nowrap
andstrategy
.- level
the compression level (0-9)
- nowrap
if true then use GZIP compatible compression
- bufferSize
size of the internal buffer that is used by the compressor. Default size is 32 KB.
- strategy
compression strategy -- see
java.util.zip.Deflater
for details
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
inflate[F[_]](nowrap: Boolean = false, bufferSize: Int = 1024 * 32): Pipe[F, Byte, Byte]
Returns a
Pipe
that inflates (decompresses) its input elements using ajava.util.zip.Inflater
with the parameternowrap
.Returns a
Pipe
that inflates (decompresses) its input elements using ajava.util.zip.Inflater
with the parameternowrap
.- nowrap
if true then support GZIP compatible decompression
- bufferSize
size of the internal buffer that is used by the decompressor. Default size is 32 KB.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )