MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / send_balancemessage

Method send_balancemessage

projects/Python/proto/proto.py:3917–3929  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

3915 return self.send_serialized(serialized)
3916
3917 def send_balancemessage(self, value):
3918 # Serialize the value into the FBE stream
3919 serialized = self.balancemessage_model.serialize(value)
3920 assert (serialized > 0), "proto.BalanceMessage serialization failed!"
3921 assert self.balancemessage_model.verify(), "proto.BalanceMessage validation failed!"
3922
3923 # Log the value
3924 if self.logging:
3925 message = str(value)
3926 self.on_send_log(message)
3927
3928 # Send the serialized value
3929 return self.send_serialized(serialized)
3930
3931 def send_accountmessage(self, value):
3932 # Serialize the value into the FBE stream

Callers 1

sendMethod · 0.95

Calls 4

on_send_logMethod · 0.95
send_serializedMethod · 0.95
serializeMethod · 0.45
verifyMethod · 0.45

Tested by

no test coverage detected