clear method

void clear()

Implementation

void clear() => buffer.clear();