code: def value(self):
          
          binary = UBInt8(self.sub_type).pack() + self.sub_value.pack()
          return BinaryData(binary)
docs: Return sub type and sub value as binary data.
  
          Returns:
              :class:`~pyof.foundation.basic_types.BinaryData`:
                  BinaryData calculated.