Hoa\Stringbuffer uses php://temp. #performance
Use rewind() instead of seek(0, …). #performance