• Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • toolbox-storage
  • compressBlob

Function compressBlob

  • compressBlob<T>(value: T): RawUsernotesBlob<T>

    Compresses a JSON value into a zlib-compressed, base64-encoded blob string. This format is described here: https://github.com/toolbox-team/reddit-moderator-toolbox/wiki/Subreddit-Wikis:-usernotes#working-with-the-blob

    Type Parameters

    • T

    Parameters

    • value: T

      The object or value to compress

    Returns RawUsernotesBlob<T>

    The generated blob.

    • Defined in usernotes/RawUsernotes.ts:134

Settings

Member Visibility
Documentation
  • Loading...

Generated using TypeDoc