MCPcopy
hub / github.com/pquerna/ffjson / readByte

Method readByte

fflib/v1/lexer.go:174–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172}
173
174func (ffl *FFLexer) readByte() (byte, error) {
175
176 c, err := ffl.reader.ReadByte()
177 if err != nil {
178 ffl.Error = FFErr_io
179 ffl.BigError = err
180 return 0, err
181 }
182
183 return c, nil
184}
185
186func (ffl *FFLexer) unreadByte() {
187 ffl.reader.UnreadByte()

Callers 3

wantBytesMethod · 0.95
lexCommentMethod · 0.95
lexNumberMethod · 0.95

Calls 1

ReadByteMethod · 0.45

Tested by

no test coverage detected