MessageSerializer
This class provides functionality for deserializing message data from byte strings. It decodes input using the Latin-1 character set and utilizes a specialized decoder to reconstruct message objects.
Methods
loads()
@classmethod
def loads(
data: bytes
) - > object
Deserializes a byte string into a Python object using the Latin-1 encoding and a specialized MessageDecoder.
Parameters
| Name | Type | Description |
|---|---|---|
| data | bytes | The raw byte sequence to be decoded, expected to be encoded in Latin-1. |
Returns
| Type | Description |
|---|---|
object | The decoded Python object representation of the input data, typically a message instance. |