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

Method send_balancemessage

projects/Python/proto/protoex.py:4044–4056  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

4042 return self.send_serialized(serialized)
4043
4044 def send_balancemessage(self, value):
4045 # Serialize the value into the FBE stream
4046 serialized = self.balancemessage_model.serialize(value)
4047 assert (serialized > 0), "protoex.BalanceMessage serialization failed!"
4048 assert self.balancemessage_model.verify(), "protoex.BalanceMessage validation failed!"
4049
4050 # Log the value
4051 if self.logging:
4052 message = str(value)
4053 self.on_send_log(message)
4054
4055 # Send the serialized value
4056 return self.send_serialized(serialized)
4057
4058 def send_accountmessage(self, value):
4059 # 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