LZString class
Constructors
- LZString()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
compress(
String? uncompressed) → Future< String?> -
Produces invalid UTF-16 strings from
uncompressed
. -
compressSync(
String? uncompressed) → String? -
Synchronously produces invalid UTF-16 strings from
uncompressed
. -
compressToBase64(
String? input) → Future< String?> -
Produces ASCII UTF-16 strings representing the original string encoded in
Base64 from
input
. Can be decompressed with decompressFromBase64. -
compressToBase64Sync(
String? input) → String? -
Synchronously produces ASCII UTF-16 strings representing the original
/ string encoded in Base64 from
input
. Can be decompressed with decompressFromBase64. -
compressToEncodedURIComponent(
String? input) → Future< String?> - Produces ASCII strings representing the original string encoded in Base64 with a few tweaks to make these URI safe.
-
compressToEncodedURIComponentSync(
String? input) → String? - Synchronously produces ASCII strings representing the original string encoded in Base64 with a few tweaks to make these URI safe.
-
compressToUint8Array(
String? uncompressed) → Future< Uint8List?> - Produces an uint8Array.
-
compressToUint8ArraySync(
String? uncompressed) → Uint8List? - Synchronously produces an uint8Array.
-
compressToUTF16(
String? input) → Future< String?> -
Produces "valid" UTF-16 strings from
input
. -
compressToUTF16Sync(
String? input) → String? -
Synchronously produces "valid" UTF-16 strings from
input
. -
decompress(
String? compressed) → Future< String?> - Decompress invalid UTF-16 strings produced by compress.
-
decompressFromBase64(
String? input) → Future< String?> -
Decompress base64
input
which produces by compressToBase64. -
decompressFromBase64Sync(
String? input) → String? -
Synchronously decompress base64
input
which produces by compressToBase64. -
decompressFromEncodedURIComponent(
String? input) → Future< String?> -
Decompress ASCII strings
input
which produces by compressToEncodedURIComponent. -
decompressFromEncodedURIComponentSync(
String? input) → String? -
Synchronously decompress ASCII strings
input
which produces by compressToEncodedURIComponent. -
decompressFromUint8Array(
Uint8List? compressed) → Future< String?> - Decompress uint8Array which produces by compressToUint8Array.
-
decompressFromUint8ArraySync(
Uint8List? compressed) → String? - Synchronously decompress uint8Array which produces by compressToUint8Array.
-
decompressFromUTF16(
String? compressed) → Future< String?> - Decompress "valid" UTF-16 string which produces by compressToUTF16.
-
decompressFromUTF16Sync(
String? compressed) → String? - Synchronously decompress "valid" UTF-16 string which produces by compressToUTF16.
-
decompressSync(
String? compressed) → String? - Synchronously decompress invalid UTF-16 strings produced by compress.