What is the Definition of a Buffer?

There are a couple definitions for buffer. The first one is someone that buffs, especially a soft piece of leather or a cloth. The other one is something that lessens or absorbs the shock of an impact.