File: //lib/python3.9/site-packages/elftools/construct/__pycache__/__init__.cpython-39.pyc
a
�#�_ � @ s� d Z ddlT ddlT ddlT ddlmZmZ dZdZdZ e
ZeZ
eZeZeZeZddlZddlZd d
� Zee�Zee�Zee�Zee�Z ee!�Z"ee!�Z#ee$�Z%ee&�Z'g d�Z(dS )a�
#### ####
## #### ## ## #### ###### ##### ## ## #### ###### ## ##
## ## ## ### ## ## ## ## ## ## ## ## ## #### ##
## ## ## ###### ### ## ##### ## ## ## ## ##
## ## ## ## ### ## ## ## ## ## ## ## ## ##
#### #### ## ## #### ## ## ## ##### #### ## ######
Parsing made even more fun (and faster too)
Homepage:
http://construct.wikispaces.com (including online tutorial)
Typical usage:
>>> from construct import *
Hands-on example:
>>> from construct import *
>>> s = Struct("foo",
... UBInt8("a"),
... UBInt16("b"),
... )
>>> s.parse("\x01\x02\x03")
Container(a = 1, b = 515)
>>> print s.parse("\x01\x02\x03")
Container:
a = 1
b = 515
>>> s.build(Container(a = 1, b = 0x0203))
"\x01\x02\x03"
� )�*)�Probe�Debuggerz)tomer filiba (tomerfiliba [at] gmail.com)z*Corbin Simpson <MostAwesomeDude@gmail.com>z2.06� Nc s t �� �� fdd��}|S )Nc s$ t jd� j tdd� � | i |��S )Nz'This name is deprecated, use %s instead� )�
stacklevel)�warnings�warn�__name__�DeprecationWarning)�args�kwargs��f� �?/usr/lib/python3.9/site-packages/elftools/construct/__init__.py�wrapper? s
�zdeprecated.<locals>.wrapper)� functools�wraps)r r r r r �
deprecated>