peerpy
latest
Table of contents
User manual
Python sources
Connection
Data
EventHandler
Exceptions
Peer
Protocol
peerpy
Docs
»
Python sources
»
Data
Edit on GitHub
Data
¶
class
Data
(
_type: str
,
buffer: bytes = b''
,
decoded_data: Any = None
,
encoded_data: bytes = None
)
¶
Bases:
object
buffer
= b''
¶
decode
(
)
¶
decoded_data
= None
¶
encode
(
)
¶
encoded_data
= None
¶
get_type
(
)
¶
Read the Docs
v: latest
Versions
latest
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.