code: public void init()
    {
      _offset = 0;
  
      if (_tempBuffer == null) {
        _tempBuffer = TempBuffer.create();
        _buffer = _tempBuffer.buffer();
        _bufferEnd = _buffer.length;
      }
    }
docs: Initialize the output stream.