gramps/websocket/compression

Types

pub type Compression {
  Compression(inflate: Context, deflate: Context)
}

Constructors

  • Compression(inflate: Context, deflate: Context)
pub type Context

Functions

pub fn close(context: Context) -> Nil
pub fn deflate(context: Context, data: BitArray) -> BitArray
pub fn inflate(context: Context, data: BitArray) -> BitArray
pub fn init() -> Compression
pub fn set_controlling_process(
  context: Context,
  pid: Pid,
) -> Atom
Search Document