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

Method send_BalanceMessage

projects/JavaScript/proto/proto.js:6840–6853  ·  view source on GitHub ↗

* Send BalanceMessage value * @this {!Client} * @param {!BalanceMessage} value BalanceMessage value to send * @returns {!number} Sent bytes

(value)

Source from the content-addressed store, hash-verified

6838 * @returns {!number} Sent bytes
6839 */
6840 send_BalanceMessage (value) { // eslint-disable-line
6841 // Serialize the value into the FBE stream
6842 let serialized = this.BalanceMessageSenderModel.serialize(value)
6843 console.assert((serialized > 0), 'proto.BalanceMessage serialization failed!')
6844 console.assert(this.BalanceMessageSenderModel.verify(), 'proto.BalanceMessage validation failed!')
6845
6846 // Log the value
6847 if (this.logging) {
6848 this.onSendLog(value.toString())
6849 }
6850
6851 // Send the serialized value
6852 return this.sendSerialized(serialized)
6853 }
6854
6855 /**
6856 * Send AccountMessage value

Callers 1

sendMethod · 0.95

Calls 5

onSendLogMethod · 0.95
sendSerializedMethod · 0.95
serializeMethod · 0.45
verifyMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected