Adopt STL naming convention in buffer.hh