var searchIndex = {}; searchIndex["bzip2"] = {"doc":"Bzip compression for Rust","items":[[4,"Compress","bzip2","When compressing data, the compression level can be specified by a value in\nthis enum.",null,null],[13,"Fastest","","Optimize for the best speed of encoding.",0,null],[13,"Best","","Optimize for the size of data being encoded.",0,null],[13,"Default","","Choose the default compression, a balance between speed and size.",0,null],[5,"compress","","Compress a block of input data into a bzip2 encoded output vector.",null,null],[5,"decompress","","Decompress a block of compressed input data into a raw output vector.",null,null],[0,"raw","","Raw low-level manipulations of bz streams.",null,null],[3,"Stream","bzip2::raw","Wrapper around a raw instance of `bz_stream`.",null,null],[4,"Kind","","Kinds of streams",null,null],[13,"Compress","","Streams used for compression",1,null],[13,"Decompress","","Streams used for decompression",1,null],[4,"Action","","Possible actions to take on compression.",null,null],[13,"Run","","Normal compression.",2,null],[13,"Flush","","Request that the current compression block is terminate.",2,null],[13,"Finish","","Request that the compression stream be finalized.",2,null],[11,"clone","","",1,null],[11,"clone","","",2,null],[11,"fmt","","",2,null],[11,"eq","","",2,null],[11,"new_decompress","","Creates a new stream prepared for decompression.",3,{"inputs":[{"name":"bool"}],"output":{"name":"stream"}}],[11,"new_compress","","Creates a new stream prepared for compression.",3,{"inputs":[{"name":"compress"},{"name":"u32"}],"output":{"name":"stream"}}],[11,"decompress","","Decompress a block of input into a block of output.",3,null],[11,"decompress_vec","","Decompress a block of input into an output vector.",3,null],[11,"compress","","Compress a block of input into a block of output.",3,null],[11,"compress_vec","","Compress a block of input into an output vector.",3,null],[11,"total_in","","Total number of bytes processed as input",3,null],[11,"total_out","","Total number of bytes processed as output",3,null],[11,"drop","","",3,null],[0,"writer","bzip2","Writer-based compression/decompression streams",null,null],[3,"BzCompressor","bzip2::writer","A compression stream which will have uncompressed data written to it and\nwill write compressed data to an output stream.",null,null],[3,"BzDecompressor","","A compression stream which will have compressed data written to it and\nwill write uncompressed data to an output stream.",null,null],[11,"new","","Create a new compression stream which will compress at the given level\nto write compress output to the give output stream.",4,{"inputs":[{"name":"w"},{"name":"compress"}],"output":{"name":"bzcompressor"}}],[11,"into_inner","","Unwrap the underlying writer, finishing the compression stream.",4,null],[11,"write","","",4,null],[11,"flush","","",4,null],[11,"drop","","",4,null],[11,"new","","Create a new compression stream which will compress at the given level\nto write compress output to the give output stream.",5,{"inputs":[{"name":"w"}],"output":{"name":"bzdecompressor"}}],[11,"into_inner","","Unwrap the underlying writer, finishing the compression stream.",5,null],[11,"write","","",5,null],[11,"flush","","",5,null],[11,"drop","","",5,null],[0,"reader","bzip2","Reader-based compression/decompression streams",null,null],[3,"BzCompressor","bzip2::reader","A compression stream which wraps an uncompressed stream of data. Compressed\ndata will be read from the stream.",null,null],[3,"BzDecompressor","","A decompression stream which wraps a compressed stream of data. Decompressed\ndata will be read from the stream.",null,null],[11,"new","","Create a new compression stream which will compress at the given level\nto read compress output to the give output stream.",6,{"inputs":[{"name":"r"},{"name":"compress"}],"output":{"name":"bzcompressor"}}],[11,"into_inner","","Unwrap the underlying writer, finishing the compression stream.",6,null],[11,"read","","",6,null],[11,"new","","Create a new compression stream which will compress at the given level\nto read compress output to the give output stream.",7,{"inputs":[{"name":"r"}],"output":{"name":"bzdecompressor"}}],[11,"into_inner","","Unwrap the underlying writer, finishing the compression stream.",7,null],[11,"read","","",7,null],[11,"clone","bzip2","",0,null]],"paths":[[4,"Compress"],[4,"Kind"],[4,"Action"],[3,"Stream"],[3,"BzCompressor"],[3,"BzDecompressor"],[3,"BzCompressor"],[3,"BzDecompressor"]]}; initSearch(searchIndex);