Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ethereum/research
/ to_bytes
Method
to_bytes
circlestark/fields.py:49–50 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
47
return
'<'
+str(self.value)+
'>'
48
49
def
to_bytes(self):
50
return
self.value.to_bytes(4,
'little'
)
51
52
@classmethod
53
def
from_bytes(cls, bytez):
Callers
15
hash
Function · 0.45
serialize_value
Function · 0.45
mix_in_length
Function · 0.45
create_mock_genesis_validator_deposits
Function · 0.45
create_deposit_data
Function · 0.45
serialize_int
Function · 0.45
serialize_point
Function · 0.45
root
Method · 0.45
test_hashable_list.py
File · 0.45
encode_series
Function · 0.45
serialize_value
Function · 0.45
mix_in_length
Function · 0.45
Calls
no outgoing calls
Tested by
3
test_vector
Function · 0.36
test_multi_merkle_tree
Function · 0.36
test_merkletree
Function · 0.36