Added consolidated method in ConsumableBuffer in order to be able to
treat recursive calls as a single "reset".