MCPcopy
hub / github.com/aceld/zinx / NewMsgPackage

Function NewMsgPackage

zpack/message.go:11–18  ·  view source on GitHub ↗
(ID uint32, data []byte)

Source from the content-addressed store, hash-verified

9}
10
11func NewMsgPackage(ID uint32, data []byte) *Message {
12 return &Message{
13 ID: ID,
14 DataLen: uint32(len(data)),
15 Data: data,
16 rawData: data,
17 }
18}
19
20func NewMessage(len uint32, data []byte) *Message {
21 return &Message{

Callers 15

ClinetFunction · 0.92
ClientJoinFunction · 0.92
ClientTestFunction · 0.92
SendMsgMethod · 0.92
SendBuffMsgMethod · 0.92
SendMsgMethod · 0.92
SendBuffMsgMethod · 0.92
SendMsgMethod · 0.92
SendBuffMsgMethod · 0.92
mainFunction · 0.92
mainFunction · 0.92

Calls

no outgoing calls

Tested by 4

ClinetFunction · 0.74
ClientJoinFunction · 0.74
ClientTestFunction · 0.74