Skip to content

Instantly share code, notes, and snippets.

@thebapi
Created October 19, 2023 21:01
Show Gist options
  • Select an option

  • Save thebapi/002aa9fc35dca0908991b6212e300163 to your computer and use it in GitHub Desktop.

Select an option

Save thebapi/002aa9fc35dca0908991b6212e300163 to your computer and use it in GitHub Desktop.
Prost message encoding/decoding
Rust
Encoding Prost Message
pl.encode_to_vec()
Decoding Prost message
let new_pl = integration_pb::UplinkEvent
::decode(&mut Cursor::new(buf))
.unwrap();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment