|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/cppython/lib/python3.8/site-packages/paramiko/__pycache__/ |
U
P��g�$ � @ sV d Z ddlZddlmZ ddlmZ ddlmZmZm Z ddl
mZ G dd� d�ZdS ) z&
Implementation of an SSH2 "message".
� N)�BytesIO)�util)� zero_byte�max_byte�one_byte)�uc @ s� e Zd ZdZdZd>dd�Zdd� Zdd � Zd
d� Zdd
� Z dd� Z
dd� Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zd*d+� Zd,d-� Zd.d/� Zd0d1� Zd2d3� Zd4d5� Zd6d7� Zd8d9� Zd:d;� Z d<d=� Z!dS )?�Messagea~
An SSH2 message is a stream of bytes that encodes some combination of
strings, integers, bools, and infinite-precision integers. 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 C s |dk rt |�| _nt � | _dS )z�
Create a new SSH2 message.
:param bytes content:
the byte stream to use as the message content (passed in only when
decomposing a message).
N)r �packet)�self�content� r �=/opt/cppython/lib/python3.8/site-packages/paramiko/message.py�__init__, s zMessage.__init__c C s | � � S �N)�asbytes�r
r r r
� __bytes__9 s zMessage.__bytes__c C s dt | j�� � d S )zP
Returns a string representation of this object, for debugging.
zparamiko.Message(�))�reprr �getvaluer r r r
�__repr__<