Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mrs4s/MiraiGo
/ functions
Functions
1,009 in github.com/Mrs4s/MiraiGo
⨍
Functions
1,009
◇
Types & classes
1,062
↓ 161 callers
Method
WriteInt64
(n int64, tag byte)
binary/jce/writer.go:81
↓ 139 callers
Function
Uint32
Uint32 stores v in a new uint32 value and returns a pointer to it.
internal/proto/wrapper.go:61
↓ 135 callers
Function
Some
(val T)
internal/proto/wrapper.go:37
↓ 131 callers
Method
Device
()
client/client.go:222
↓ 119 callers
Method
WriteUInt16
(v uint16)
binary/writer.go:63
↓ 112 callers
Method
WriteUInt32
(v uint32)
binary/writer.go:69
↓ 103 callers
Function
Int32
Int32 stores v in a new int32 value and returns a pointer to it.
internal/proto/wrapper.go:49
↓ 94 callers
Method
writeHead
(t, tag byte)
binary/jce/writer.go:17
↓ 92 callers
Method
WriteByte
(b, tag byte)
binary/jce/writer.go:26
↓ 89 callers
Method
uniPacket
go:noinline
client/packet.go:20
↓ 87 callers
Method
sendAndWait
sendAndWait 向服务器发送一个数据包, 并等待返回
client/network.go:212
↓ 84 callers
Function
Marshal
(m Message)
internal/proto/wrapper.go:14
↓ 79 callers
Method
WriteInt32
(n int32, tag byte)
binary/jce/writer.go:61
↓ 78 callers
Method
Write
(b []byte)
binary/writer.go:50
↓ 75 callers
Function
Unmarshal
(b []byte, m Message)
internal/proto/wrapper.go:33
↓ 75 callers
Method
version
()
client/client.go:218
↓ 73 callers
Method
WriteString
(v string)
binary/writer.go:81
↓ 70 callers
Function
NewWriterF
(f func(writer *Writer))
binary/writer.go:12
↓ 56 callers
Method
WriteByte
(b byte)
binary/writer.go:59
↓ 55 callers
Function
NewJceReader
(data []byte)
binary/jce/reader.go:20
↓ 55 callers
Method
WriteString
(s string, tag byte)
binary/jce/writer.go:119
↓ 54 callers
Function
Uint64
Uint64 stores v in a new uint64 value and returns a pointer to it.
internal/proto/wrapper.go:64
↓ 51 callers
Method
ReadInt32
(tag int)
binary/jce/reader.go:197
↓ 50 callers
Function
NewJceWriter
()
binary/jce/writer.go:13
↓ 48 callers
Method
ReadInt64
(tag int)
binary/jce/reader.go:216
↓ 48 callers
Method
dispatch
(client *QQClient, event T)
client/events.go:31
↓ 47 callers
Function
String
String stores v in a new string value and returns a pointer to it.
internal/proto/wrapper.go:67
↓ 46 callers
Method
Bytes
()
binary/jce/writer.go:208
↓ 44 callers
Method
WriteBytesShort
(data []byte)
binary/writer.go:109
↓ 43 callers
Method
WriteBytes
(l []byte, tag byte)
binary/jce/writer.go:134
↓ 38 callers
Method
FillUInt16
()
binary/writer.go:28
↓ 38 callers
Method
ReadByte
()
binary/reader.go:29
↓ 38 callers
Method
Write
(buf []byte)
client/internal/network/conn.go:50
↓ 38 callers
Method
WriteUInt16At
(pos int, v uint16)
binary/writer.go:34
↓ 37 callers
Method
Len
()
internal/generator/c2c_switcher/c2c_switcher.go:46
↓ 37 callers
Method
error
(msg string, args ...any)
client/log.go:27
↓ 33 callers
Method
ReadBytes
(len int)
binary/reader.go:37
↓ 33 callers
Method
ReadInt32
()
binary/reader.go:58
↓ 32 callers
Function
NewReader
--- ByteStream reader ---
binary/reader.go:22
↓ 32 callers
Method
ReadString
(tag int)
binary/jce/reader.go:269
↓ 29 callers
Method
readHead
()
binary/jce/reader.go:24
↓ 28 callers
Method
Add
Add - add key/value in cache
utils/ttl.go:81
↓ 28 callers
Method
uvarint
(v uint64)
internal/proto/dynamic.go:105
↓ 26 callers
Method
Bytes
()
binary/writer.go:126
↓ 25 callers
Method
ReadUInt16
()
binary/reader.go:52
↓ 25 callers
Method
debug
(msg string, args ...any)
client/log.go:33
↓ 25 callers
Method
skipToTag
(tag int)
binary/jce/reader.go:143
↓ 23 callers
Function
B2S
B2S converts byte slice to a string without memory allocation.
utils/string.go:52
↓ 23 callers
Function
unpackOIDBPackage
(payload []byte, rsp proto.Message)
client/global.go:348
↓ 22 callers
Method
sendPacket
sendPacket 向服务器发送一个数据包
client/network.go:255
↓ 21 callers
Method
ReadBytesShort
()
binary/reader.go:48
↓ 21 callers
Method
nextSeq
()
client/client.go:766
↓ 20 callers
Method
Append
(b ...[]byte)
client/internal/oicq/oicq.go:147
↓ 20 callers
Method
sendAndWaitDynamic
sendAndWaitDynamic 发送数据包并返回需要解析的 response
client/network.go:296
↓ 19 callers
Method
Read
Read impls io.Reader
utils/http.go:107
↓ 19 callers
Method
ReadByte
(tag int)
binary/jce/reader.go:161
↓ 19 callers
Method
ToBytes
()
binary/jce/structs.go:4
↓ 18 callers
Function
NewTeaCipher
go:nosplit
binary/tea.go:134
↓ 18 callers
Method
ReadBytes
(tag int)
binary/jce/reader.go:284
↓ 18 callers
Method
packOIDBPackageProto
(cmd, serviceType int32, msg proto.Message)
client/global.go:343
↓ 16 callers
Method
FindMember
(uin int64)
client/group_info.go:320
↓ 16 callers
Function
Int64
Int64 stores v in a new int64 value and returns a pointer to it.
internal/proto/wrapper.go:52
↓ 16 callers
Method
ReadFrom
(r *JceReader)
binary/jce/structs.go:538
↓ 16 callers
Method
ToBytes
()
binary/jce/structs_tobytes.go:5
↓ 16 callers
Method
ToBytes
()
binary/jce/structs_tobytes.go:20
↓ 16 callers
Function
packUniRequestData
(data []byte)
client/global.go:288
↓ 16 callers
Method
skipToStructEnd
()
binary/jce/reader.go:153
↓ 15 callers
Method
Decrypt
(data []byte)
binary/tea.go:33
↓ 15 callers
Method
Len
()
binary/reader.go:93
↓ 15 callers
Method
Marshal
()
client/internal/oicq/oicq.go:134
↓ 15 callers
Method
PackPacket
PackPacket packs a packet.
client/internal/network/transport.go:187
↓ 15 callers
Method
ReadFrom
(*JceReader)
binary/jce/structs.go:5
↓ 14 callers
Method
Get
Get - return value from cache
utils/ttl.go:58
↓ 14 callers
Function
NewText
(s string)
message/elements.go:139
↓ 14 callers
Function
S2B
S2B converts string to a byte slice without memory allocation. Note it may break if string and/or slice header will change in the future go versions.
utils/string.go:64
↓ 14 callers
Method
String
()
message/source.go:13
↓ 14 callers
Method
packOIDBPackage
(cmd, serviceType int32, body []byte)
client/global.go:326
↓ 14 callers
Method
skipHead
()
binary/jce/reader.go:43
↓ 13 callers
Method
Close
()
client/internal/network/conn.go:86
↓ 13 callers
Method
Exists
(key int)
client/internal/tlv/decoder.go:18
↓ 13 callers
Method
Unmarshal
(data []byte)
client/internal/oicq/oicq.go:97
↓ 13 callers
Method
WriteTlvLimitedSize
(data []byte, limit int)
binary/writer.go:114
↓ 12 callers
Function
OpenWriterF
OpenWriterF must call func cl to close
binary/writer.go:22
↓ 12 callers
Method
ReadFrom
(r *JceReader)
binary/jce/structs.go:557
↓ 12 callers
Method
Seek
(offset int64, whence int)
utils/sys.go:33
↓ 12 callers
Method
Type
()
message/message.go:73
↓ 12 callers
Method
WriteInt16
(n int16, tag byte)
binary/jce/writer.go:44
↓ 12 callers
Method
packOIDBPackageDynamically
(cmd, serviceType int32, msg proto.DynamicMessage)
client/global.go:339
↓ 11 callers
Method
Disconnect
Disconnect 中断连接, 不释放资源
client/network.go:206
↓ 11 callers
Method
Encode
()
internal/proto/dynamic.go:22
↓ 11 callers
Method
FindGroup
(code int64)
client/client.go:635
↓ 11 callers
Method
String
()
client/loginerror_string.go:31
↓ 10 callers
Method
Encrypt
Encrypt tea 加密 http://bbs.chinaunix.net/thread-583468-1-1.html 感谢xichen大佬对TEA的解释
binary/tea.go:13
↓ 9 callers
Function
RandomStringRange
(length int, str string)
utils/string.go:15
↓ 9 callers
Method
Reset
()
binary/writer.go:130
↓ 9 callers
Function
SelectWriter
SelectWriter 从池中取出一个 Writer
binary/pool.go:17
↓ 9 callers
Function
T116
(miscBitmap, subSigMap uint32)
internal/tlv/t116.go:5
↓ 9 callers
Function
T8
(localId uint32)
internal/tlv/t8.go:5
↓ 9 callers
Method
Wait
Wait 如果不是第一个上传则等待。
utils/waiter.go:20
↓ 8 callers
Function
Bool
Bool stores v in a new bool value and returns a pointer to it.
internal/proto/wrapper.go:46
next →
1–100 of 1,009, ranked by callers