RobotStudio event

Working with rawbytes: how to remove bytes from start to given index

Options
pollux
pollux
edited November 2014 in RobotStudio
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