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

Method ReadStringWithLength

utils/binary/reader.go:201–203  ·  view source on GitHub ↗
(prefix string, withPerfix bool)

Source from the content-addressed store, hash-verified

199}
200
201func (r *Reader) ReadStringWithLength(prefix string, withPerfix bool) string {
202 return utils.B2S(r.ReadBytesWithLength(prefix, withPerfix))
203}
204
205func (r *Reader) ReadTlv() (result map[uint16][]byte) {
206 result = map[uint16][]byte{}

Callers 3

decodeLoginResponseMethod · 0.95
ReadResponseMethod · 0.95
readSSOFrameMethod · 0.95

Calls 2

ReadBytesWithLengthMethod · 0.95
B2SFunction · 0.92

Tested by

no test coverage detected