code: def byte2int(b):
      if isinstance(b, int):
          return b
      else:
          return struct.unpack("!B", b)[0]
  
file_path: mindsdb/mindsdb/api/mysql/mysql_proxy/external_libs/mysql_scramble.py
imports: import hashlib
  from functools import partial
  import struct
  import io
  import sys
label_desc: Use image node_id 5 for calling a global function with example usage: byte2int(b) and returns: b, struct