Working with rawbytes: how to remove bytes from start to given index
pollux
✭
Hi,
I'm working on a networked application where I store raw bytes into a buffer. Whenever I receive data over the network I check if there is enough bytes in the buffer for the current command. If there are enough bytes I want to parse these and remove the read data from the buffer. I see `ClearRawBytes` though this can only remove from a given index until the end. But I want to remove from the start to a given index. How can I do this?
Thanks
Tagged:
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings