def buildFrame(self): """ Attempts to get a frame from the data in the stream. """ frame = Frame.readFrom(self.stream) return frame