code: def __init__(self, type, value=None):
      # TODO other types: float, timestamp
      self.type = type
      self.value = b""
      self.var_type = self.type.split("<")[0]
      self.var_len = self.type.split("<")[1].replace(">", "")
  
      if value is not None:
          self.set(value)
  
file_path: mindsdb/mindsdb/api/mysql/mysql_proxy/data_types/mysql_datum.py
imports: import math
  import struct
  from mindsdb.api.mysql.mysql_proxy.libs.constants.mysql import DEFAULT_CAPABILITIES, NULL_VALUE, ONE_BYTE_ENC, THREE_BYTE_ENC, TWO_BYTE_ENC
  from mindsdb.utilities import log
label_desc: Use image node_id 1 to create a new Datum object  with example: obj = Datum(type, value)