(rust-lang) packet decode/encode lib