BufferedInputRange.consume

Removes n bytes from the front of the buffer, and returns the new buffer slice. You might want to idup the data you are consuming if you store it, since it may be overwritten on the new popFront.

You do not need to call this if you always want to wait for more data when you consume some.

class BufferedInputRange
ubyte[]
consume
(
size_t bytes
)

Meta