+
    /i                         R t ^ RIt. R	Ot]P                  R8H  t];'       d    R;'       g    Rt];'       d    R;'       g    RtRR
RRRRRR/tR tR# )zByteorder utilities for system - numpy byteorder encoding

Converts a variety of string codes for little endian, big endian,
native byte order and swapped byte order to explicit NumPy endian
codes - one of '<' (little endian) or '>' (big endian)

Nlittle<>bignativeswappedc                   V P                  4       p V f   \        # V \        R,          9   d   R# V \        R,          9   d   R# V \        R,          9   d   \        # V \        R,          9   d   \        # \	        RV  24      h)a  
Convert various order codings to NumPy format.

Parameters
----------
code : str
    The code to convert. It is converted to lower case before parsing.
    Legal values are:
    'little', 'big', 'l', 'b', 'le', 'be', '<', '>', 'native', '=',
    'swapped', 's'.

Returns
-------
out_code : {'<', '>'}
    Here '<' is the numpy dtype code for little endian,
    and '>' is the code for big endian.

Examples
--------
>>> import sys
>>> from scipy.io.matlab._byteordercodes import to_numpy_code
>>> sys_is_le = (sys.byteorder == 'little')
>>> sys_is_le
True
>>> to_numpy_code('big')
'>'
>>> to_numpy_code('little')
'<'
>>> nc = to_numpy_code('native')
>>> nc == '<' if sys_is_le else nc == '>'
True
>>> sc = to_numpy_code('swapped')
>>> sc == '>' if sys_is_le else sc == '<'
True

r   r   r   r   r   r   zWe cannot handle byte order )lowernative_codealiasesswapped_code
ValueError)codes   &]/var/www/html/photoedit/myenv/lib/python3.14/site-packages/scipy/io/matlab/_byteordercodes.pyto_numpy_coder      sw    J ::<D|wx  			"	"	#	#*4&13 	3    )r   r
   r   	sys_is_ler   )r   r   lle)r   r   bbe)r   =)r   S)	__doc__sys__all__	byteorderr   r
   r   r   r    r   r   <module>r      ss    
 MMX%	C&&3  S''C/)_&(23r   