Get all output data and truncate the output buffer.
Calling this function repeatedly will have the effect of pulling the output in chunks from the HeatshrinkDecoder. It will return all data currently available and remove it from the output buffer so another call to getOutput() will not return duplicate data.
All data currently in the output buffer.
Feed data into the heatshrink decoder state machine.
This function will take the chunk of input data and turn it into as much expanded output as it can. Decoding a stream of data should be done by calling this function repeatedly with chunks of data from the stream.
You can call isFinished() to check and see if all of the data that you have fed in from previous calls to process() has been successfully decoded.
A chunk of data that has encoded using the heatshrink library. You can push data a little bit at a time and stop at any byte boundary.
Generated using TypeDoc
A typescript implementation of the heatshrink compression library.
Heatshrink is an open-source LZSS based compression library suitable for use in embedded systems since it has a very small and bounded memory footprint. This is an adaptation of the heatshink code to typescript with a slightly more user-fiendly API.