* Set new stream content (decoded/uncompressed). * * Clears any existing filters since the data is now uncompressed. * Compression will be applied at write time if `compressStreams` is enabled.
(value: Uint8Array)
| 79 | * Compression will be applied at write time if `compressStreams` is enabled. |
| 80 | */ |
| 81 | setData(value: Uint8Array): void { |
| 82 | // Clear filters - the new data is uncompressed |
| 83 | this.delete("Filter"); |
| 84 | this.delete("DecodeParms"); |
| 85 | this._data = value; |
| 86 | this.dirty = true; |
| 87 | } |
| 88 | |
| 89 | /** |
| 90 | * Create stream from dict entries and data. |
no test coverage detected