docs: def ReadByte(self, do_ord=True):
          """
          Read a single byte.
  
          Args:
              do_ord (bool): (default True) convert the byte to an ordinal first.
  
          Returns:
              bytes: a single byte if successful. 0 (int) if an exception occurred.
          """
          try:
              if do_ord:
                  return ord(self.stream.read(1))
              return self.stream.read(1)
          except Exception as e:
              logger.error("ord expected character but got none")
          return 0