# File lib/tidy_ffi/interface.rb, line 46
  def output
    @output ||= begin
      with_buffer_pointer do |buf|
        LibTidy.tidySaveBuffer(@doc, buf)
        buf[:bp]
      end
    end
  end