[−][src]Macro bytecodec::bytecodec_try_decode
Tries to decode an item from the given buffer.
Conceptually, this macro is expanded to the following expression.
ⓘThis example is not tested
if !$decoder.is_idle() { $offset += track!($decoder.decode(&$buf[$offset..], $eos))?; if !$decoder.is_idle() { return Ok($offset); } }