Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Interfaces

Functions

Functions

compress

decompress

  • decompress(buffer: string | Uint8Array, options?: undefined | { mode: bytes }): Uint8Array
  • decompress(buffer: string | Uint8Array, options?: undefined | { mode: text }): string
  • Returns the buffer decompressed, via LZ77 Compression, into a string or Uint8Array

    NOTE: Some Adapters and Overlays can automatically handle compression, so make sure to not double compress

    Parameters

    • buffer: string | Uint8Array
    • Optional options: undefined | { mode: bytes }

    Returns Uint8Array

  • Parameters

    • buffer: string | Uint8Array
    • Optional options: undefined | { mode: text }

    Returns string

Legend

  • Variable
  • Function
  • Type alias
  • Type alias with type parameter
  • Interface
  • Interface with type parameter
  • Class
  • Class with type parameter
  • Enumeration

Generated using TypeDoc