{ } Raw JSON

bundles / scipy latest / scipy / io / matlab / _mio5_utils / VarReader5 / read_tag

cython_function_or_method

scipy.io.matlab._mio5_utils:VarReader5.read_tag

Signature

def   read_tag ( self )

Summary

Read tag mdtype and byte_count

Extended Summary

Does necessary swapping and takes account of SDE formats.

See also read_full_tag method.

Returns

mdtype : int

matlab data type code

byte_count : int

number of bytes following that comprise the data

tag_data : None or str

Any data from the tag itself. This is None for a full tag, and string length byte_count if this is a small data element.

Aliases

  • scipy.io.matlab._mio5.VarReader5.read_tag