• Parameters

    • data: unknown
    • Optionaloptions: {
          collapseEmpty?: boolean;
          indent?: string;
          lineBreak?: string;
          wrapDataAt?: number;
      }
      • OptionalcollapseEmpty?: boolean

        whether we should collapse empty tags (e.g. <dict/>, `)

        true
        
      • Optionalindent?: string

        string to use for indentation

        '\t'
        
      • OptionallineBreak?: string

        string to use for line breaks

        '\n'
        
      • OptionalwrapDataAt?: number

        some implementations wrap <data> base64 strings at a certain length, this option allows you to set that length

        0 (no wrapping)
        

    Returns string