Why reset the index here ? I think this should not be done as we not do this in other ByteBufHolder impls