Writes my pending output bytes into outputBuffer. Does not subsequently flip it. Returns true on end of stream.
See Implementation