/
lib
/
python3.9
/
site-packages
/
elftools
/
construct
/
lib
/
__pycache__
/
up file
home
a �#�_! � @ s� d dl Z e jd dkZzd dlmZ W n eyD d dlmZ Y n0 er�d dlZejZej Z dd� Z dd� Zdd � Zd d� Z dd � Zdd� Zdd� Zdd� ZeZnRd dlZej ZZ eZeZ dd� Z dd� Zdd � Zdd� Zdd� Zdd� Zdd� ZdS )� N� )�MutableMappingc C s t | f�S )z� When iterating over b'...' in Python 2 you get single b'_' chars and in Python 3 you get integers. Call bchr to always turn this to single b'_' chars. ��bytes��i� r �D/usr/lib/python3.9/site-packages/elftools/construct/lib/py3compat.py�bchr s r c C s | S �Nr ��sr r r �u s r c C s t | f�S r r r r r r �int2byte s r c C s | S r r ��br r r �byte2int! s r c C s | � d�S �Nzlatin-1)�encoder r r r � str2bytes$ s r c C s | S r r r r r r �str2unicode'