'Initializer for mat file reader
mat_stream : file-like
object with file API, open for reading
%(load_args)s'

@docfiller
def __init__(self, mat_stream, byte_order=None, mat_dtype=False, squeeze_me=False, chars_as_strings=True, matlab_compatible=False, struct_as_record=True, verify_compressed_data_integrity=True):

    self.mat_stream = mat_stream
    self.dtypes = {}
    if (not byte_order):
        byte_order = self.guess_byte_order()
    else:
        byte_order = boc.to_numpy_code(byte_order)
    self.byte_order = byte_order
    self.struct_as_record = struct_as_record
    if matlab_compatible:
        self.set_matlab_compatible()
    else:
        self.squeeze_me = squeeze_me
        self.chars_as_strings = chars_as_strings
        self.mat_dtype = mat_dtype
    self.verify_compressed_data_integrity = verify_compressed_data_integrity
