public LinkedBuffer clear()
    {
        next = null;
        offset = start;
        return this;
    }
The offset will be reset to its starting position. The buffer next to this will be dereferenced.
protostuff-api/src/main/java/io/protostuff/LinkedBuffer.java