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

Function NewBalanceMessage

projects/Go/proto/proto/BalanceMessage.go:42–46  ·  view source on GitHub ↗

Create a new BalanceMessage struct

()

Source from the content-addressed store, hash-verified

40
41// Create a new BalanceMessage struct
42func NewBalanceMessage() *BalanceMessage {
43 return &BalanceMessage{
44 Body: *NewBalance(),
45 }
46}
47
48// Create a new BalanceMessage struct from the given field values
49func NewBalanceMessageFromFieldValues(Body Balance) *BalanceMessage {

Callers 9

GetMethod · 0.70
DeserializeMethod · 0.70
DeserializeValueMethod · 0.70
NewReceiverWithBufferFunction · 0.70
GetMethod · 0.70
DeserializeMethod · 0.70
DeserializeValueMethod · 0.70

Calls 1

NewBalanceFunction · 0.70

Tested by

no test coverage detected