var searchIndex = {}; searchIndex["buffer"] = {"doc":"`buffer` provides safe, write-only and generics-free byte buffers that can\nbe used without initializing them first.","items":[[3,"ArrayVecBuffer","buffer","The intermediate step from a `ArrayVec` to a `BufferRef`.",null,null],[3,"BufferRefBuffer","","The intermediate step from a `BufferRef` to another `BufferRef`.",null,null],[3,"SliceBuffer","","The intermediate step from a byte slice to a `BufferRef`.",null,null],[3,"SliceRefBuffer","","The intermediate step from a byte slice reference to a `BufferRef`.",null,null],[3,"VecBuffer","","The intermediate step from a `Vec` to a `BufferRef`.",null,null],[3,"CapacityError","","An error occuring when too many bytes are being pushed into a buffer.",null,null],[3,"BufferRef","","A reference to an uninitialized or partially initialized byte buffer.",null,null],[5,"read_buffer_ref","","A utility function for unsafely implementing `ReadBufferRef` for readers\nthat don't read the buffer passed to `Read::read`.",null,{"inputs":[{"name":"t"},{"name":"bufferref"}],"output":{"name":"result"}}],[5,"with_buffer","","Convenience function that converts a `T: Buffer` into a `BufferRef`.",null,{"inputs":[{"name":"t"},{"name":"f"}],"output":{"name":"r"}}],[11,"drop","","",0,null],[11,"to_buffer_ref","","",0,null],[11,"drop","","",1,null],[11,"to_buffer_ref","","",1,null],[11,"to_buffer_ref","","",2,null],[11,"drop","","",3,null],[11,"to_buffer_ref","","",3,null],[11,"drop","","",4,null],[11,"to_buffer_ref","","",4,null],[8,"ReadBuffer","","Trait to read to `T: Buffer`.",null,null],[11,"read_buffer","","Reads (equivalently to `Read::read`) into the buffer and returns the\nnewly read bytes.",5,null],[8,"ReadBufferRef","","An internal trait to be implemented by `T: Read` which do not access the\nread buffer in `Read::read`. Prefer implementing `ReadBufferMarker` over\nthis.",null,null],[10,"read_buffer_ref","","Reads (equivalently to `Read::read`) into the buffer ref and returns\nthe newly written bytes.",6,null],[8,"Buffer","","Trait for types that can act as buffer for bytes.",null,null],[16,"Intermediate","","Intermediate result of converting the `T: Buffer` into a `BufferRef`.",7,null],[10,"to_to_buffer_ref","","Converts the `T: Buffer` into the intermediate step to `BufferRef`.",7,null],[8,"ToBufferRef","","Internal trait for the intermediate result of converting a `T: Buffer` into\na `BufferRef`.",null,null],[10,"to_buffer_ref","","Second step to convert a `T: Buffer` to a `BufferRef`.",8,null],[11,"partial_cmp","","",9,null],[11,"eq","","",9,null],[11,"cmp","","",9,null],[11,"hash","","",9,null],[11,"fmt","","",9,null],[11,"clone","","",9,null],[11,"new","","Creates a buffer reference from the buffer and a pointer where the\nlength should be written to.",10,null],[11,"advance","","Advances the split of initialized/uninitialized data by `num_bytes` to\nthe right.",10,null],[11,"extend","","Writes the bytes yielded by the `bytes` iterator into the buffer.",10,null],[11,"write","","Writes the byte slice into the buffer.",10,null],[11,"uninitialized_mut","","Returns the uninitialized part of the buffer.",10,null],[11,"initialized","","Consumes the (mutable) buffer reference to produce a slice of the\ninitialized data that is independent from the `BufferRef` instance.",10,null],[11,"remaining","","Returns the amount of uninitialized bytes that are left.",10,null],[11,"read_buffer","","Reads (equivalently to `Read::read`) into the buffer and returns the\nnewly read bytes.",5,null]],"paths":[[3,"ArrayVecBuffer"],[3,"BufferRefBuffer"],[3,"SliceBuffer"],[3,"SliceRefBuffer"],[3,"VecBuffer"],[8,"ReadBuffer"],[8,"ReadBufferRef"],[8,"Buffer"],[8,"ToBufferRef"],[3,"CapacityError"],[3,"BufferRef"]]}; initSearch(searchIndex);