MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / SkipBytes

Method SkipBytes

utils/binary/reader.go:117–123  ·  view source on GitHub ↗
(length int)

Source from the content-addressed store, hash-verified

115}
116
117func (r *Reader) SkipBytes(length int) {
118 if r.reader != nil {
119 _, _ = r.reader.Read(make([]byte, length))
120 return
121 }
122 r.pos += length
123}
124
125// ReadBytesNoCopy 不拷贝读取的数据, 用于读取后立即使用, 慎用
126//

Callers 6

decodeLoginResponseMethod · 0.95
FetchQRCodeMethod · 0.95
GetQRCodeResultMethod · 0.95
SkipBytesWithLengthMethod · 0.95
ParseMessageElementsFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected