行缓冲和全缓冲