summaryrefslogtreecommitdiff
path: root/docs/classes/asyncgunzip.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/classes/asyncgunzip.md')
-rw-r--r--docs/classes/asyncgunzip.md72
1 files changed, 72 insertions, 0 deletions
diff --git a/docs/classes/asyncgunzip.md b/docs/classes/asyncgunzip.md
new file mode 100644
index 0000000..14c48ce
--- /dev/null
+++ b/docs/classes/asyncgunzip.md
@@ -0,0 +1,72 @@
+# Class: AsyncGunzip
+
+Asynchronous streaming GZIP decompression
+
+## Hierarchy
+
+* **AsyncGunzip**
+
+## Index
+
+### Constructors
+
+* [constructor](asyncgunzip.md#constructor)
+
+### Properties
+
+* [ondata](asyncgunzip.md#ondata)
+* [terminate](asyncgunzip.md#terminate)
+
+### Methods
+
+* [push](asyncgunzip.md#push)
+
+## Constructors
+
+### constructor
+
+\+ **new AsyncGunzip**(`cb?`: [AsyncFlateStreamHandler](../README.md#asyncflatestreamhandler)): [AsyncGunzip](asyncgunzip.md)
+
+Creates an asynchronous GUNZIP stream
+
+#### Parameters:
+
+Name | Type | Description |
+------ | ------ | ------ |
+`cb?` | [AsyncFlateStreamHandler](../README.md#asyncflatestreamhandler) | The callback to call whenever data is deflated |
+
+**Returns:** [AsyncGunzip](asyncgunzip.md)
+
+## Properties
+
+### ondata
+
+• **ondata**: [AsyncFlateStreamHandler](../README.md#asyncflatestreamhandler)
+
+The handler to call whenever data is available
+
+___
+
+### terminate
+
+• **terminate**: [AsyncTerminable](../interfaces/asyncterminable.md)
+
+A method to terminate the stream's internal worker. Subsequent calls to
+push() will silently fail.
+
+## Methods
+
+### push
+
+▸ **push**(`chunk`: Uint8Array, `final?`: boolean): void
+
+Pushes a chunk to be GUNZIPped
+
+#### Parameters:
+
+Name | Type | Description |
+------ | ------ | ------ |
+`chunk` | Uint8Array | The chunk to push |
+`final?` | boolean | Whether this is the last chunk |
+
+**Returns:** void