ystero-dev / scalpel

Packet Dissection and sculpting in Rust
Other
3 stars 6 forks source link

modify dissect_packet function #69

Open JnanaN opened 4 months ago

JnanaN commented 4 months ago

This PR adds following features

  1. The API should return a Result and accept encap_type. ( Returning Result. We'll need to explore a bit how the Result can be returned in the wasm module and how the caller would use it)
  2. We should also have the console_error_panic_handler enabled if wasm is being compiled. So that panics can be logged using console.error as mentioned in #66 under https://github.com/ystero-dev/scalpel/pull/66#issuecomment-2036258467