Pako

@native @nowarn("msg=dead|never used") @JSType
sealed trait Pako extends Object

Facade for the JS pako library with provides zlib compression & decompression.

Companion:
object
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def deflate(data: Data, options: DeflateOptions): Data
def deflateRaw(data: Data, options: DeflateOptions): Data

The same as deflate, but creates raw data, without wrapper (header and adler32 crc).

The same as deflate, but creates raw data, without wrapper (header and adler32 crc).

def inflate(data: Data, options: InflateOptions): Data

Throws an exception on error

Throws an exception on error

def inflateRaw(data: Data, options: InflateOptions): Data

The same as inflate, but creates raw data, without wrapper (header and adler32 crc).

The same as inflate, but creates raw data, without wrapper (header and adler32 crc).

Throws an exception on error.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object