anchor.diff:    ENDMETHOD.                    "decode_tree
   
     METHOD zlib_decompress.
  +
       DATA: ls_data           TYPE lcl_zlib=>ty_decompress,
             lv_compressed_len TYPE i,
  -          lv_decompressed   TYPE xstring,
             lv_adler32        TYPE lcl_hash=>ty_adler32.
  +
   
       ls_data = lcl_zlib=>decompress( cv_data ).
       lv_compressed_len = ls_data-compressed_len.
  -    lv_decompressed = ls_data-raw.
  +    cv_decompressed = ls_data-raw.
   
       IF lv_compressed_len IS INITIAL.
         lcx_exception=>raise( 'Decompression falied :o/' ).
  
positive.code:         IF lv_compressed(lv_compressed_len) <> lv_data(lv_compressed_len).
            "Lets try with zlib before error in out for good
            "This fixes issues with TFS 2017 and visualstudio.com Git repos
            zlib_decompress( CHANGING cv_data = lv_data ).
          ELSE.
            lv_data = lv_data+lv_compressed_len.
          ENDIF.
  
negative.code:       CHANGING  cv_data   TYPE xstring.
  
      CLASS-METHODS zlib_decompress
        CHANGING cv_data         TYPE xstring
                 cv_decompressed TYPE xstring
        RAISING  lcx_exception.
  
  ENDCLASS.                    "lcl_pack DEFINITION
  