Arbitrary message chopping of a TLV format byte stream #3055
-
Good afternoon, I have a use case where I'm receiving data continuously in a TCP socket. Do you have any idea on how I could proceed to recover each message with their proper length ? Thanks in advance 😊 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @Arenash13 👋 That sounds like a good reason to write a custom scanner. There are examples here on how to write custom plugins. You can probably start by copy / pasting one of the existing scanners, such as |
Beta Was this translation helpful? Give feedback.
Hey @Arenash13 👋 That sounds like a good reason to write a custom scanner. There are examples here on how to write custom plugins. You can probably start by copy / pasting one of the existing scanners, such as
chunker
, and modifying it according to your needs.