'Guess byte order.
Sets stream pointer to 0'

def guess_byte_order(self):

    self.mat_stream.seek(126)
    mi = self.mat_stream.read(2)
    self.mat_stream.seek(0)
    return (((mi == 'IM') and '<') or '>')
