MCPcopy Create free account
hub / github.com/dotabuff/manta / readStringN

Method readStringN

reader.go:294–296  ·  view source on GitHub ↗

readStringN reads a string of a given length

(n uint32)

Source from the content-addressed store, hash-verified

292
293// readStringN reads a string of a given length
294func (r *reader) readStringN(n uint32) string {
295 return string(r.readBytes(n))
296}
297
298// readString reads a null terminated string
299func (r *reader) readString() string {

Callers 3

unlzssFunction · 0.80
TestReaderStringsFunction · 0.80

Calls 1

readBytesMethod · 0.95

Tested by 1

TestReaderStringsFunction · 0.64