code: def parse_message(self, data: bytes) -> SegmentSequence:
          
          if isinstance(data, bytes):
              data = self.explode_segments(data)
  
          message = SegmentSequence()
          for segment in data:
              seg = self.parse_segment(segment)
              message.segments.append(seg)
          return message
docs: Takes a FinTS 3.0 message as byte array, and returns a parsed segment sequence