How to use serialEvent ?

serialEvent() is available. Serial.buffer() is not. Why it wasn't removed from the documentation is a question for the authors.