|
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/google/protobuf/__pycache__/ |
U
N��g�
� @ s� d Z ddlZddlmZmZ ddlmZ ddlmZ ddlm Z eddd �Z
de
eed
�dd�Z
ee
ee
d
�dd�Ze
ejdd�dd�Zee
eje
d�dd�ZdS )z,Contains the Nextgen Pythonic protobuf APIs.� N)�Type�TypeVar)�decoder)�encoder)�Message�_MESSAGEr )�bound)�message�
deterministic�returnc C s | j |d�S )a Return the serialized proto.
Args:
message: The proto message to be serialized.
deterministic: If true, requests deterministic serialization
of the protobuf, with predictable ordering of map keys.
Returns:
A binary bytes representation of the message.
)r
)ZSerializeToString)r r
� r �B/opt/cppython/lib/python3.8/site-packages/google/protobuf/proto.py� serialize s r )�
message_class�payloadr c C s | � }|� |� |S )z�Given a serialized data in binary form, deserialize it into a Message.
Args:
message_class: The message meta class.
payload: A serialized bytes in binary form.
Returns:
A new message deserialized from payload.
)�ParseFromString)r r Znew_messager r r
�parse"