Don't call GetBuffer() twice