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

Method ReadString

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

Source from the content-addressed store, hash-verified

147}
148
149func (r *Reader) ReadString(length int) string {
150 return utils.B2S(r.ReadBytes(length))
151}
152
153func (r *Reader) SkipBytesWithLength(prefix string, withPerfix bool) {
154 var length int

Callers 2

decodeLoginResponseMethod · 0.95
ReadLineFunction · 0.95

Calls 2

ReadBytesMethod · 0.95
B2SFunction · 0.92

Tested by

no test coverage detected