code: def decodeData(self, rawData):
      import zlib
  
      if self.length == self.origLength:
          data = rawData
      else:
          assert self.length < self.origLength
          data = zlib.decompress(rawData)
          assert len(data) == self.origLength
      return data
  
imports: from io import BytesIO
  from types import SimpleNamespace
  from fontTools.misc.textTools import Tag
  from fontTools.misc import sstruct
  from fontTools.ttLib import TTLibError, TTLibFileIsCollectionError
  import struct
  from collections import OrderedDict
  import logging
label_desc: Use image node_id 2 for calling the WOFFDirectoryEntry obj's underlying member method code with example usage: obj.decodeData(rawData) and returns: data