var searchIndex = {}; searchIndex["zstd"] = {"doc":"Rust binding to the [zstd library][zstd].","items":[[3,"Encoder","zstd","An encoder that compress and forward data to another writer.",null,null],[3,"Decoder","","A decoder that decompress input data from another `Read`.",null,null],[5,"decode_all","","Decompress the given data as if using a `Decoder`.",null,null],[5,"encode_all","","Compress all the given data as if using an `Encoder`.",null,null],[11,"new","","Creates a new encoder.",0,{"inputs":[{"name":"w"},{"name":"i32"}],"output":{"name":"result"}}],[11,"with_dictionary","","Creates a new encoder, using an existing dictionary.",0,null],[11,"finish","","Finishes the stream. You *need* to call this after writing your stuff.",0,null],[11,"recommended_input_size","","Return a recommendation for the size of data to write at once.",0,{"inputs":[],"output":{"name":"usize"}}],[11,"write","","",0,null],[11,"flush","","",0,null],[11,"new","","Creates a new decoder.",1,{"inputs":[{"name":"r"}],"output":{"name":"result"}}],[11,"with_dictionary","","Creates a new decoder, using an existing dictionary.",1,null],[11,"recommended_output_size","","Recommendation for the size of the output buffer.",1,{"inputs":[],"output":{"name":"usize"}}],[11,"read","","",1,null],[0,"block","","Methods to compress and decompress individual blocks.",null,null],[3,"Compressor","zstd::block","Allows to compress multiple blocks of data, re-using the context.",null,null],[3,"Decompressor","","Allows to decompress multiple blocks of data, re-using the context.",null,null],[5,"compress_to_buffer","","Compress a single block of data to the given destination buffer.",null,null],[5,"compress","","Compress a block of data, and return the compressed result in a `Vec<u8>`.",null,null],[5,"decompress_to_buffer","","Deompress a single block of data to the given destination buffer.",null,null],[5,"decompress","","Decompress a block of data, and return the decompressed result in a `Vec<u8>`.",null,null],[11,"new","","Creates a new zstd compressor",2,{"inputs":[],"output":{"name":"self"}}],[11,"with_dict","","Creates a new zstd compressor, using the given dictionary.",2,{"inputs":[{"name":"vec"}],"output":{"name":"self"}}],[11,"compress_to_buffer","","Compress a single block of data to the given destination buffer.",2,null],[11,"compress","","Compress a block of data, and return the compressed result in a `Vec<u8>`.",2,null],[11,"new","","Creates a new zstd decompressor.",3,{"inputs":[],"output":{"name":"self"}}],[11,"with_dict","","Creates a new zstd decompressor, using the given dictionary.",3,{"inputs":[{"name":"vec"}],"output":{"name":"self"}}],[11,"decompress_to_buffer","","Deompress a single block of data to the given destination buffer.",3,null],[11,"decompress","","Decompress a block of data, and return the decompressed result in a `Vec<u8>`.",3,null],[0,"dict","zstd","Train a dictionary from various sources.",null,null],[5,"from_continuous","zstd::dict","Train a dictionary from a big continuous chunk of data.",null,null],[5,"from_samples","","Train a dictionary from multiple samples.",null,null],[5,"from_files","","Train a dict from a list of files.",null,null]],"paths":[[3,"Encoder"],[3,"Decoder"],[3,"Compressor"],[3,"Decompressor"]]}; initSearch(searchIndex);