Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Bitmessage/PyBitmessage
/ decode
Method
decode
src/messagetypes/vote.py:8–10 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
6
return
7
8
def
decode(self, data):
9
self.msgid = data[
"msgid"
]
10
self.vote = data[
"vote"
]
11
12
def
encode(self, data):
13
super(Vote, self).encode()
Callers
3
_unpack_string
Function · 0.45
constructObject
Function · 0.45
setData
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected