Switch for buffer.