code: def get_bit_width(self, resource):
          
          datatype = resource.datatype
  
          if "uint" in datatype:
              bit_width = int(datatype.split("uint")[1])
          else:
              raise ValueError("Unsupported datatype: {}".format(datatype))
  
          return bit_width
docs: Method to return the bit width for blosc based on the Resource