%PDF- %PDF-
| Direktori : /lib/python3/dist-packages/paramiko/__pycache__/ |
| Current File : //lib/python3/dist-packages/paramiko/__pycache__/message.cpython-312.pyc |
�
�ecD# � �b � d Z ddlZddlmZ ddlmZmZmZmZ ddl m
Z
mZmZm
Z
G d� de� Zy)z&
Implementation of an SSH2 "message".
� N)�util)� zero_byte�max_byte�one_byte�asbytes)�long�BytesIO�u�
integer_typesc �� � e Zd ZdZ ed� Zd!d�Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
d� Zd
� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z!d � Z"y)"�Messagea�
An SSH2 message is a stream of bytes that encodes some combination of
strings, integers, bools, and infinite-precision integers (known in Python
as longs). This class builds or breaks down such a byte stream.
Normally you don't need to deal with anything this low-level, but it's
exposed for people implementing custom extensions, or features that
paramiko doesn't support yet.
l ~ Nc �H � |�t |� | _ yt � | _ y)z�
Create a new SSH2 message.
:param str content:
the byte stream to use as the message content (passed in only when
decomposing a message).
N)r �packet)�self�contents �2/usr/lib/python3/dist-packages/paramiko/message.py�__init__zMessage.__init__+ s � � ��!�'�*�D�K�!�)�D�K� c �"