clear


Description:

public async void clear () throws Error

Clear buffer contents to empty.

Sets the lines array to an empty array, reflecting that the file has been deleted.

Exceptions:

Error

if clearing fails