itkwasm_compress_stringify.parse_string_decompress_async

Module Contents

Functions

parse_string_decompress_async

Given a binary or string produced with compress-stringify, decompress and optionally base64 decode.

API

async itkwasm_compress_stringify.parse_string_decompress_async.parse_string_decompress_async(input: bytes, parse_string: bool = False) bytes

Given a binary or string produced with compress-stringify, decompress and optionally base64 decode.

Parameters:
  • input (bytes) – Compressed input

  • parse_string (bool) – Parse the input string before decompression

Returns:

Output decompressed binary

Return type:

bytes