-Writes the specified amount of bytes using the data of \it{buffer}.
-\it{WARNING!} The buffer absolutely needs to have at least the specified size.
-
-This function returns a reference on the current object, so the user can test
-any states of the stream right away.