Class: Util

Util

Utilities for uncompressing and base64 decoding Class for gunzipping, unzipping and base64 decoding of files. It is used for reading GEONExT, Geogebra and Intergeo files. Only Huffman codes are decoded in gunzip. The code is based on the source code for gunzip.c by Pasi Ojala

Members

<static> Base64

Base64 encoding / decoding
Source:
  • openpgp.js, line 11876
See:

Methods

<static> genUUID

Generate a random uuid. http://www.broofa.com mailto:robert@broofa.com Copyright (c) 2010 Robert Kieffer Dual licensed under the MIT and GPL licenses. EXAMPLES: >>> Math.uuid() "92329D39-6F5C-4520-ABFC-AAB64544E172"
Source:
  • openpgp.js, line 12152

<static> Unzip

Unzip zip files
Source:
  • openpgp.js, line 10990

<static> utf8Decode

Decoding string into utf-8
Parameters:
Name Type Description
string String to decode
Source:
  • openpgp.js, line 12114
Returns:
utf8 decoded string
Type
String