initSidebarItems({"enum":[["DecodingError","An error that can be produced during decoding."],["EncodingError","An error that can be produced during encoding."],["SizeLimit","A limit on the amount of bytes that can be read or written."]],"fn":[["decode","Decodes a slice of bytes into an object."],["decode_from","Decoes an object directly from a `Buffer`ed Reader."],["encode","Encodes an encodable object into a `Vec` of bytes."],["encode_into","Encodes an object directly into a `Writer`."],["encoded_size","Returns the size that an object would be if encoded using bincode."],["encoded_size_bounded","Given a maximum size limit, check how large an object would be if it were to be encoded."]],"struct":[["DecoderReader","A Decoder that reads bytes from a buffer."],["EncoderWriter","An Encoder that encodes values directly into a Writer."],["RefBox","A struct for encoding nested reference types."],["SliceBox","Like a RefBox, but encodes from a `[T]` and encodes to a `Vec`."],["StrBox","Like a RefBox, but encoding from a `str` and decoedes to a `String`."]],"type":[["DecodingResult",""],["EncodingResult",""]]});