| Server IP : 3.96.16.70 / Your IP : 216.73.216.15 Web Server : Apache System : Linux ip-172-31-26-103.ca-central-1.compute.internal 6.1.163-186.299.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Feb 24 16:35:42 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3.9/site-packages/serial/tools/__pycache__/ |
Upload File : |
a
��WW5 � @ s� d Z ddlZddlZze W n eefy6 eZY n0 dZddd�Zddd�Z G d d
� d
ej
�Z
G dd� dej�ZG d
d� dej�ZG dd� de
ej
�Z
G dd� de
ej�Zdd� ZdS )aL Python 'hex' Codec - 2-digit hex with spaces content transfer encoding.
Encode and decode may be a bit missleading at first sight...
The textual representation is a hex dump: e.g. "40 41"
The "encoded" data of this is the binary form, e.g. b"@A"
Therefore decoding is binary to text and thus converting binary data to hex dump.
� NZ0123456789ABCDEF�strictc C s t �dd� | �� D ��t| �fS )�'40 41 42' -> b'@ab'c S s g | ]}t |d ��qS �� ��int��.0�h� r �>/usr/lib/python3.9/site-packages/serial/tools/hexlify_codec.py�
<listcomp>&