MCPcopy
hub / github.com/uber/aresdb / ReadRune

Method ReadRune

query/expr/scanner.go:395–401  ·  view source on GitHub ↗

ReadRune reads the next rune from the reader. This is a wrapper function to implement the io.RuneReader interface. Note that this function does not return size.

()

Source from the content-addressed store, hash-verified

393// This is a wrapper function to implement the io.RuneReader interface.
394// Note that this function does not return size.
395func (r *reader) ReadRune() (ch rune, size int, err error) {
396 ch, _ = r.read()
397 if ch == eof {
398 err = io.EOF
399 }
400 return
401}
402
403// UnreadRune pushes the previously read rune back onto the buffer.
404// This is a wrapper function to implement the io.RuneScanner interface.

Callers 5

peekRuneMethod · 0.80
readMethod · 0.80
ScanDelimitedFunction · 0.80
ScanStringFunction · 0.80
ScanBareIdentFunction · 0.80

Calls 1

readMethod · 0.95

Tested by

no test coverage detected