write method

Adds the contents of obj, converted to a string, to the buffer.

void write(
Object obj
)

Adds the contents of obj, converted to a string, to the buffer.