Import std.compress.deflate
DeflateDecompressor
class
Public Class DeflateDecompressor Implements Coder
Deflate's bytes taken in turn: Add gives what the bytes it takes decompress to so far, and Finish what's left once they've all been added, and starts again. Each throws an IOError when the bytes aren't Deflate's or would come to more than the limit, and Finish when they end early. Bytes after the end are an IOError too.
std/compress/deflate.fb, line 229
-
A new DeflateDecompressor that gives at most
limitbytes. Panics when thelimitis negative. -
Decompresses
data, and gives the bytes it comes to so far. Throws an IOError when the bytes aren't Deflate's, or would come to more than the limit. -
The rest of the bytes, once every one is added, and starts again. Throws an IOError when the stream ended early.
Report an issue with this page or with FutureBlitz on GitHub.