Searched defs:readRune (Results 1 – 2 of 2) sorted by relevance
304 type readRune struct { struct305 reader io.Reader306 buf [utf8.UTFMax]byte // used only inside ReadRune307 pending int // number of bytes in pendBuf; only >0 for bad UTF-8308 pendBuf [utf8.UTFMax]byte // bytes left over309 peekRune rune // if >=0 next rune; when <0 is ^(previous Rune)314 func (r *readRune) readByte() (b byte, err error) {330 func (r *readRune) ReadRune() (rr rune, size int, err error) {369 func (r *readRune) UnreadRune() error {
427 func (in *input) readRune() int { func